Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 110.5 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002409/0.002409, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.234/2.234, allocations: 222.9 MB / 241.8 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 47.25 kB / 300.6 MB, free: 6.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1621, allocations: 49.45 MB / 350.1 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.02554/0.1877, allocations: 16.2 MB / 366.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.1986, allocations: 4.041 MB / 370.3 MB, free: 480 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004454/0.2031, allocations: 131.6 kB / 370.4 MB, free: 348 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3185/0.5218, allocations: 7.067 MB / 377.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.5318, allocations: 1.318 MB / 378.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005196/0.537, allocations: 1.005 MB / 379.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01697/0.554, allocations: 7.869 MB / 387.7 MB, free: 6.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05629/0.6104, allocations: 18.91 MB / 406.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01204/0.6225, allocations: 4.276 MB / 410.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/0.6364, allocations: 5.165 MB / 416 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005419/0.6418, allocations: 1.023 MB / 417.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008262/0.6501, allocations: 1.275 MB / 418.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006662/0.6569, allocations: 2.213 MB / 420.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01578/0.6727, allocations: 4.838 MB / 425.4 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02796/0.7007, allocations: 15.95 MB / 441.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/0.7008, allocations: 4 kB / 441.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.07e-06/0.7008, allocations: 0 / 441.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007548/0.7016, allocations: 0 / 441.3 MB, free: 7.898 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.05667/0.7583, allocations: 10.45 MB / 451.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.514e-05/0.7584, allocations: 16.02 kB / 451.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03707/0.7954, allocations: 3.734 MB / 455.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/0.814, allocations: 5.176 MB / 460.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001204/0.8152, allocations: 0.6775 MB / 461.4 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005321/0.8206, allocations: 0.8972 MB / 462.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06627/0.8869, allocations: 12.74 MB / 475 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005585/0.8876, allocations: 11.89 kB / 475 MB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009096/0.8967, allocations: 378.6 kB / 475.4 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007916/0.8975, allocations: 399.1 kB / 475.8 MB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05941/0.957, allocations: 11.43 MB / 487.2 MB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1406/1.098, allocations: 43.68 MB / 0.5185 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02222/1.12, allocations: 10.54 MB / 0.5288 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.5721/1.692, allocations: 1.722 MB / 0.5305 GB, free: 135.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/1.693, allocations: 137.3 kB / 0.5306 GB, free: 135.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/1.693, allocations: 57.3 kB / 0.5306 GB, free: 135.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 7.895e-06/1.693, allocations: 2.344 kB / 0.5306 GB, free: 135.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.01901/1.712, allocations: 4.778 MB / 0.5353 GB, free: 134.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/1.712, allocations: 74.34 kB / 0.5354 GB, free: 134.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/1.723, allocations: 2.926 MB / 0.5382 GB, free: 133.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005959/1.723, allocations: 65.14 kB / 0.5383 GB, free: 133.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004647/1.728, allocations: 3.83 MB / 0.542 GB, free: 131.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001981/1.73, allocations: 0.8006 MB / 0.5428 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004931/1.735, allocations: 0.953 MB / 0.5438 GB, free: 130 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/1.735, allocations: 302.9 kB / 0.544 GB, free: 129.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006644/1.742, allocations: 2.014 MB / 0.546 GB, free: 129 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008541/1.75, allocations: 4.2 MB / 0.5501 GB, free: 125.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/1.762, allocations: 6.59 MB / 0.5565 GB, free: 120.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001546/1.762, allocations: 19.81 kB / 0.5566 GB, free: 120.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01592/1.778, allocations: 6.584 MB / 0.563 GB, free: 117.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/1.778, allocations: 42.86 kB / 0.563 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/1.779, allocations: 80.2 kB / 0.5631 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/1.78, allocations: 401.5 kB / 0.5635 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00388/1.784, allocations: 1.067 MB / 0.5645 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00539/1.789, allocations: 4.055 MB / 0.5685 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005642/1.795, allocations: 0.6226 MB / 0.5691 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/1.796, allocations: 249.7 kB / 0.5693 GB, free: 114.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006946/1.803, allocations: 3.371 MB / 0.5726 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009275/1.804, allocations: 277.5 kB / 0.5729 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006679/1.81, allocations: 3.663 MB / 0.5765 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004113/1.815, allocations: 2.894 MB / 0.5793 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/1.815, allocations: 4 kB / 0.5793 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/1.815, allocations: 11.81 kB / 0.5793 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/1.839, allocations: 10.06 MB / 0.5891 GB, free: 99.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/1.839, allocations: 4 kB / 0.5891 GB, free: 99.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.84, allocations: 411.6 kB / 0.5895 GB, free: 99.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008301/1.841, allocations: 316.6 kB / 0.5898 GB, free: 99.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004053/1.842, allocations: 47.98 kB / 0.5899 GB, free: 99.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004824/1.847, allocations: 3.882 MB / 0.5937 GB, free: 95.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.847, allocations: 4 kB / 0.5937 GB, free: 95.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/1.859, allocations: 5.256 MB / 0.5988 GB, free: 89.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002579/1.862, allocations: 0.6128 MB / 0.5994 GB, free: 89.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/1.864, allocations: 47.94 kB / 0.5995 GB, free: 89.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003476/1.867, allocations: 132.7 kB / 0.5996 GB, free: 89.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008081/1.868, allocations: 145.8 kB / 0.5997 GB, free: 88.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004656/1.869, allocations: 70.73 kB / 0.5998 GB, free: 88.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006565/1.875, allocations: 1.963 MB / 0.6017 GB, free: 86.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.51e-07/1.875, allocations: 3.938 kB / 0.6017 GB, free: 86.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01135/1.887, allocations: 1.958 MB / 0.6036 GB, free: 84.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001141/1.888, allocations: 217.9 kB / 0.6038 GB, free: 84.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01253/1.9, allocations: 4.695 MB / 0.6084 GB, free: 79.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/1.9, allocations: 0 / 0.6084 GB, free: 79.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005116/1.906, allocations: 1.788 MB / 0.6102 GB, free: 78.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007248/1.913, allocations: 0.6415 MB / 0.6108 GB, free: 77.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04267/1.956, allocations: 16.75 MB / 0.6271 GB, free: 60.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01223/1.968, allocations: 5.478 MB / 0.6325 GB, free: 55.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.97, allocations: 267.4 kB / 0.6327 GB, free: 54.99 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/1.97, allocations: 0 / 0.6327 GB, free: 54.99 MB / 446.1 MB Notification: Performance of Templates: time 0.5215/2.491, allocations: 131.8 MB / 0.7614 GB, free: 98.7 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches