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.0008629/0.0008629, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001045/0.001045, allocations: 184.2 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002548, allocations: 12.47 kB / 301.4 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09365, allocations: 50.43 MB / 351.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0153/0.109, allocations: 15.33 MB / 367.2 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008684/0.1177, allocations: 4.013 MB / 371.2 MB, free: 284 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.1209, allocations: 127.6 kB / 371.3 MB, free: 156 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1712/0.2921, allocations: 0.9987 MB / 372.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006404/0.2985, allocations: 1.298 MB / 373.6 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.3018, allocations: 0.9997 MB / 374.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.3119, allocations: 7.866 MB / 382.5 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03786/0.3499, allocations: 22.1 MB / 404.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008997/0.3589, allocations: 3.3 MB / 407.9 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007591/0.3665, allocations: 3.857 MB / 411.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001667/0.3682, allocations: 0.543 MB / 412.3 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004084/0.3723, allocations: 0.8018 MB / 413.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002546/0.3749, allocations: 1.525 MB / 414.6 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007699/0.3826, allocations: 4.057 MB / 418.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01973/0.4024, allocations: 17.17 MB / 435.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.4024, allocations: 0 / 435.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4025, allocations: 0 / 435.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007035/0.4032, allocations: 0 / 435.8 MB, free: 13.11 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.02576/0.429, allocations: 8.506 MB / 444.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.429, allocations: 8.031 kB / 444.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02017/0.4492, allocations: 3.751 MB / 448.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.4598, allocations: 5.172 MB / 453.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008381/0.4607, allocations: 0.6861 MB / 453.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003207/0.4639, allocations: 0.8857 MB / 454.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03256/0.4965, allocations: 12.75 MB / 467.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004205/0.497, allocations: 7.906 kB / 467.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00263/0.4996, allocations: 375.8 kB / 468 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000459/0.5001, allocations: 399.1 kB / 468.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02684/0.5269, allocations: 11.43 MB / 479.8 MB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07906/0.606, allocations: 43.83 MB / 0.5113 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.6176, allocations: 10.53 MB / 0.5216 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/0.6203, allocations: 1.723 MB / 0.5233 GB, free: 6.793 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.6206, allocations: 134 kB / 0.5234 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.6207, allocations: 56.56 kB / 0.5235 GB, free: 6.586 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.478e-06/0.6207, allocations: 0 / 0.5235 GB, free: 6.586 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.009999/0.6307, allocations: 4.803 MB / 0.5282 GB, free: 1.758 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.6308, allocations: 77.34 kB / 0.5282 GB, free: 1.668 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1911/0.8218, allocations: 2.926 MB / 0.5311 GB, free: 136.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003564/0.8222, allocations: 60.05 kB / 0.5312 GB, free: 136.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002533/0.8248, allocations: 3.824 MB / 0.5349 GB, free: 134.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009257/0.8257, allocations: 0.8115 MB / 0.5357 GB, free: 133.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005489/0.8263, allocations: 377 kB / 0.536 GB, free: 133.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.8263, allocations: 308.4 kB / 0.5363 GB, free: 133.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002957/0.8293, allocations: 2.007 MB / 0.5383 GB, free: 133.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/0.8331, allocations: 4.198 MB / 0.5424 GB, free: 129.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007024/0.8401, allocations: 6.584 MB / 0.5488 GB, free: 124.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.914e-05/0.8403, allocations: 25.34 kB / 0.5489 GB, free: 124.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.01/0.8503, allocations: 6.578 MB / 0.5553 GB, free: 122 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.8503, allocations: 42.67 kB / 0.5553 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.8505, allocations: 75.03 kB / 0.5554 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007526/0.8512, allocations: 408.6 kB / 0.5558 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/0.8542, allocations: 1.064 MB / 0.5568 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/0.8581, allocations: 4.069 MB / 0.5608 GB, free: 119.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/0.8613, allocations: 0.6239 MB / 0.5614 GB, free: 118.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004122/0.8617, allocations: 251.8 kB / 0.5616 GB, free: 118.9 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.004269/0.866, allocations: 3.374 MB / 0.5649 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004748/0.8665, allocations: 270.6 kB / 0.5652 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/0.8714, allocations: 3.664 MB / 0.5688 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00329/0.8747, allocations: 2.887 MB / 0.5716 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.8747, allocations: 3.906 kB / 0.5716 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.8747, allocations: 11.53 kB / 0.5716 GB, free: 114.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.8875, allocations: 10.07 MB / 0.5814 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.8876, allocations: 0 / 0.5814 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.889, allocations: 411.4 kB / 0.5818 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006127/0.8897, allocations: 316.7 kB / 0.5821 GB, free: 107.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.8898, allocations: 51.98 kB / 0.5822 GB, free: 107.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003486/0.8933, allocations: 3.893 MB / 0.586 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8933, allocations: 5.516 kB / 0.586 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/0.8991, allocations: 5.257 MB / 0.5911 GB, free: 98.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.9002, allocations: 0.6219 MB / 0.5917 GB, free: 97.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.9005, allocations: 36 kB / 0.5918 GB, free: 97.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.9016, allocations: 135.8 kB / 0.5919 GB, free: 97.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.9019, allocations: 149.7 kB / 0.592 GB, free: 97.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.902, allocations: 72.05 kB / 0.5921 GB, free: 97.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002282/0.9043, allocations: 1.963 MB / 0.594 GB, free: 95.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9043, allocations: 3.828 kB / 0.594 GB, free: 95.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004232/0.9085, allocations: 1.962 MB / 0.5959 GB, free: 93.56 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.0004153/0.9089, allocations: 219.2 kB / 0.5962 GB, free: 93.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005697/0.9147, allocations: 4.703 MB / 0.6007 GB, free: 88.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.9147, allocations: 4.375 kB / 0.6008 GB, free: 88.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.9166, allocations: 1.785 MB / 0.6025 GB, free: 86.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/0.92, allocations: 0.6288 MB / 0.6031 GB, free: 86.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/0.9385, allocations: 17.06 MB / 0.6198 GB, free: 69.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004414/0.9429, allocations: 5.642 MB / 0.6253 GB, free: 63.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003688/0.9466, allocations: 1.698 MB / 0.6269 GB, free: 61.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000584/0.9472, allocations: 231.4 kB / 0.6272 GB, free: 61.51 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.9473, allocations: 1.75 kB / 0.6272 GB, free: 61.51 MB / 446.1 MB Notification: Performance of Templates: time 0.06074/1.008, allocations: 40.55 MB / 0.6668 GB, free: 21.2 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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