Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 100.6 kB / 17.93 MB, free: 5.41 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.001106/0.001106, allocations: 193.8 kB / 18.86 MB, free: 4.484 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.28/1.28, allocations: 205.1 MB / 224.7 MB, free: 12.42 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.001222/0.001222, allocations: 47.92 kB / 280.8 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07816/0.07939, allocations: 46.64 MB / 327.4 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006814/0.08624, allocations: 5.934 MB / 333.4 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003234/0.08951, allocations: 1.628 MB / 335 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009567/0.09049, allocations: 43.81 kB / 335 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009298/0.09147, allocations: 246.3 kB / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.09308, allocations: 310.3 kB / 335.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009621/0.09407, allocations: 311.7 kB / 335.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002255/0.09634, allocations: 2.013 MB / 337.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002865/0.09922, allocations: 2.691 MB / 340.6 MB, free: 7.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.1004, allocations: 1.048 MB / 341.6 MB, free: 6.461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.1019, allocations: 1.214 MB / 342.9 MB, free: 5.242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003654/0.1023, allocations: 312 kB / 343.2 MB, free: 4.938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/0.103, allocations: 479.6 kB / 343.6 MB, free: 4.469 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005818/0.1036, allocations: 0.7364 MB / 344.4 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.1048, allocations: 1.253 MB / 345.6 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.1074, allocations: 3.153 MB / 348.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1074, allocations: 3.938 kB / 348.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1074, allocations: 0 / 348.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.071e-05/0.1075, allocations: 0 / 348.8 MB, free: 15.31 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004069/0.1115, allocations: 2.462 MB / 351.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1116, allocations: 11.89 kB / 351.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005237/0.1121, allocations: 242.1 kB / 351.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.1137, allocations: 1.174 MB / 352.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.1138, allocations: 176.9 kB / 352.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/0.1141, allocations: 224 kB / 353 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004252/0.1184, allocations: 2.538 MB / 355.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.1185, allocations: 0 / 355.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.1187, allocations: 91.98 kB / 355.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/0.1187, allocations: 56 kB / 355.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00329/0.122, allocations: 2.137 MB / 357.9 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.1328, allocations: 7.596 MB / 365.5 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.1341, allocations: 1.259 MB / 366.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009687/0.1351, allocations: 0.6219 MB / 367.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.1352, allocations: 8.562 kB / 367.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1352, allocations: 39.12 kB / 367.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 3.747e-06/0.1352, allocations: 0 / 367.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004127/0.1394, allocations: 2.439 MB / 369.8 MB, free: 9.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1394, allocations: 59.97 kB / 369.9 MB, free: 9.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009302/0.1404, allocations: 0.7894 MB / 370.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.1404, allocations: 37.7 kB / 370.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004985/0.1409, allocations: 0.9138 MB / 371.6 MB, free: 7.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.1411, allocations: 224.8 kB / 371.8 MB, free: 7.582 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.1413, allocations: 150.5 kB / 372 MB, free: 7.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1414, allocations: 394.7 kB / 372.4 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.1419, allocations: 365.8 kB / 372.7 MB, free: 6.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/0.1426, allocations: 0.575 MB / 373.3 MB, free: 6.008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.1438, allocations: 0.9932 MB / 374.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1438, allocations: 4 kB / 374.3 MB, free: 4.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001728/0.1455, allocations: 1.139 MB / 375.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1456, allocations: 19.94 kB / 375.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.1456, allocations: 8 kB / 375.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.1459, allocations: 112.7 kB / 375.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.1465, allocations: 171.7 kB / 375.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.1487, allocations: 2.325 MB / 378.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.1493, allocations: 39.97 kB / 378.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.1494, allocations: 36 kB / 378.2 MB, free: 0.918 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009398/0.1503, allocations: 0.6535 MB / 378.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.1505, allocations: 82.91 kB / 378.9 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.1507, allocations: 103.5 kB / 379 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/0.1507, allocations: 8 kB / 379 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1507, allocations: 0 / 379 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1508, allocations: 3.984 kB / 379 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1428/0.2936, allocations: 2.664 MB / 381.7 MB, free: 51.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.2937, allocations: 1 kB / 381.7 MB, free: 51.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.2942, allocations: 108.8 kB / 381.8 MB, free: 51.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.2945, allocations: 100 kB / 381.9 MB, free: 51.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.2946, allocations: 25.92 kB / 381.9 MB, free: 51.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.2965, allocations: 2.265 MB / 384.2 MB, free: 49.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.2965, allocations: 7.938 kB / 384.2 MB, free: 49.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.2987, allocations: 1.418 MB / 385.6 MB, free: 48.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.2992, allocations: 223.2 kB / 385.8 MB, free: 48.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.2993, allocations: 19.62 kB / 385.8 MB, free: 48.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.2998, allocations: 40.38 kB / 385.9 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3, allocations: 54.17 kB / 385.9 MB, free: 48.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.3, allocations: 19.78 kB / 385.9 MB, free: 48.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008577/0.3009, allocations: 0.5598 MB / 386.5 MB, free: 48.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3009, allocations: 0 / 386.5 MB, free: 48.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001191/0.3021, allocations: 299 kB / 386.8 MB, free: 48.18 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002546/0.3024, allocations: 140 kB / 386.9 MB, free: 48.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.3043, allocations: 1.137 MB / 388.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3043, allocations: 1.188 kB / 388.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008781/0.3052, allocations: 0.5643 MB / 388.6 MB, free: 47.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.3063, allocations: 213.1 kB / 388.8 MB, free: 47.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006094/0.3124, allocations: 4.137 MB / 393 MB, free: 44.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.3136, allocations: 1.681 MB / 394.6 MB, free: 43.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.3139, allocations: 74.39 kB / 394.7 MB, free: 43.96 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3139, allocations: 0 / 394.7 MB, free: 43.96 MB / 318.1 MB Notification: Performance of Templates: time 0.02986/0.3438, allocations: 28.44 MB / 423.2 MB, free: 19.4 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches