Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 109.3 kB / 18.4 MB, free: 4.699 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.001567/0.001567, allocations: 187.1 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 47.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.1016, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.2045/0.3061, allocations: 16.85 MB / 392.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008916/0.315, allocations: 4.243 MB / 396.9 MB, free: 316 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003017/0.3181, allocations: 114.7 kB / 397 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01719/0.3353, allocations: 7.465 MB / 404.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006765/0.3421, allocations: 1.539 MB / 406 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.3462, allocations: 1.215 MB / 407.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.3573, allocations: 8.577 MB / 415.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03393/0.3913, allocations: 22.57 MB / 438.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007448/0.3987, allocations: 4.968 MB / 443.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008699/0.4075, allocations: 5.525 MB / 448.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003204/0.4107, allocations: 1.402 MB / 450.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/0.415, allocations: 1.66 MB / 451.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002915/0.4179, allocations: 2.712 MB / 454.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00799/0.4259, allocations: 5.378 MB / 460 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01845/0.4444, allocations: 18.54 MB / 478.6 MB, free: 8.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4444, allocations: 0 / 478.6 MB, free: 8.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4445, allocations: 0 / 478.6 MB, free: 8.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003899/0.4449, allocations: 0 / 478.6 MB, free: 8.605 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02816/0.473, allocations: 10.79 MB / 489.4 MB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4731, allocations: 11.89 kB / 489.4 MB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03004/0.5031, allocations: 5.706 MB / 495.1 MB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009656/0.5128, allocations: 4.845 MB / 499.9 MB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00058/0.5134, allocations: 0.7025 MB / 0.4889 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/0.5163, allocations: 0.914 MB / 0.4898 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02929/0.5456, allocations: 13.6 MB / 0.5031 GB, free: 3.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002511/0.5459, allocations: 7.906 kB / 0.5031 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001332/0.5473, allocations: 392 kB / 0.5035 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004167/0.5477, allocations: 456 kB / 0.5039 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02433/0.572, allocations: 12.83 MB / 0.5164 GB, free: 6.129 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3914/0.9635, allocations: 46.32 MB / 0.5617 GB, free: 120.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.9761, allocations: 17.1 MB / 0.5783 GB, free: 106.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002725/0.9788, allocations: 1.869 MB / 0.5802 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009693/0.9885, allocations: 5.964 MB / 0.586 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.9886, allocations: 50.59 kB / 0.586 GB, free: 105.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 4.188e-06/0.9886, allocations: 1.094 kB / 0.586 GB, free: 105.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007197/0.9958, allocations: 4.318 MB / 0.5903 GB, free: 104.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.9959, allocations: 71.75 kB / 0.5903 GB, free: 104.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/1, allocations: 3.325 MB / 0.5936 GB, free: 103.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/1, allocations: 59.23 kB / 0.5936 GB, free: 103.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001937/1.002, allocations: 4.181 MB / 0.5977 GB, free: 100.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/1.003, allocations: 0.6874 MB / 0.5984 GB, free: 100.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/1.004, allocations: 1.064 MB / 0.5994 GB, free: 99.67 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.604e-05/1.004, allocations: 302.7 kB / 0.5997 GB, free: 99.38 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/1.006, allocations: 2.044 MB / 0.6017 GB, free: 98.67 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003098/1.009, allocations: 4.691 MB / 0.6063 GB, free: 94.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005685/1.015, allocations: 7.093 MB / 0.6132 GB, free: 88.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.848e-05/1.015, allocations: 25.75 kB / 0.6132 GB, free: 88.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.008364/1.023, allocations: 7.011 MB / 0.6201 GB, free: 85.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.024, allocations: 45.53 kB / 0.6201 GB, free: 85.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.517e-05/1.024, allocations: 91.47 kB / 0.6202 GB, free: 85.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007357/1.024, allocations: 436.4 kB / 0.6206 GB, free: 85.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/1.028, allocations: 1.171 MB / 0.6218 GB, free: 85.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/1.032, allocations: 4.378 MB / 0.6261 GB, free: 82.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/1.035, allocations: 0.7151 MB / 0.6268 GB, free: 81.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/1.035, allocations: 294.3 kB / 0.627 GB, free: 81.54 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00437/1.04, allocations: 3.483 MB / 0.6304 GB, free: 79.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005032/1.04, allocations: 285.1 kB / 0.6307 GB, free: 79.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004257/1.044, allocations: 3.313 MB / 0.6339 GB, free: 76.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002841/1.047, allocations: 2.542 MB / 0.6364 GB, free: 73.74 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/1.047, allocations: 4 kB / 0.6364 GB, free: 73.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/1.047, allocations: 11.95 kB / 0.6364 GB, free: 73.72 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/1.06, allocations: 9.304 MB / 0.6455 GB, free: 64.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/1.06, allocations: 0 / 0.6455 GB, free: 64.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/1.062, allocations: 355.5 kB / 0.6459 GB, free: 64.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006052/1.062, allocations: 320.6 kB / 0.6462 GB, free: 63.71 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-05/1.062, allocations: 43.92 kB / 0.6462 GB, free: 63.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/1.066, allocations: 4.185 MB / 0.6503 GB, free: 59.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.066, allocations: 7.875 kB / 0.6503 GB, free: 59.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005151/1.071, allocations: 4.7 MB / 0.6549 GB, free: 54.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.072, allocations: 0.5869 MB / 0.6555 GB, free: 54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/1.073, allocations: 35.66 kB / 0.6555 GB, free: 53.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.074, allocations: 139.8 kB / 0.6556 GB, free: 53.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.074, allocations: 125.8 kB / 0.6558 GB, free: 53.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/1.074, allocations: 56.06 kB / 0.6558 GB, free: 53.65 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002434/1.077, allocations: 2.194 MB / 0.658 GB, free: 51.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.077, allocations: 0 / 0.658 GB, free: 51.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004653/1.081, allocations: 2.038 MB / 0.6599 GB, free: 49.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003746/1.082, allocations: 194.4 kB / 0.6601 GB, free: 49.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005429/1.087, allocations: 4.72 MB / 0.6647 GB, free: 44.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.087, allocations: 0 / 0.6647 GB, free: 44.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/1.089, allocations: 1.602 MB / 0.6663 GB, free: 42.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/1.091, allocations: 0.6762 MB / 0.667 GB, free: 42.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/1.109, allocations: 13.43 MB / 0.6801 GB, free: 28.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004016/1.113, allocations: 5.627 MB / 0.6856 GB, free: 23.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000933/1.114, allocations: 287.4 kB / 0.6858 GB, free: 22.86 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/1.114, allocations: 0 / 0.6858 GB, free: 22.86 MB / 478.1 MB Notification: Performance of Templates: time 0.3137/1.428, allocations: 136.4 MB / 0.819 GB, free: 98.8 MB / 0.4982 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches