Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001072, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2251, allocations: 50.55 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01612/0.2412, allocations: 16.51 MB / 425.8 MB, free: 1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009025/0.2503, allocations: 4.142 MB / 429.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002668/0.253, allocations: 135.6 kB / 430 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01545/0.2685, allocations: 7.439 MB / 437.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004824/0.2733, allocations: 1.32 MB / 438.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.2764, allocations: 1.239 MB / 440 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008606/0.285, allocations: 8.254 MB / 448.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03057/0.3156, allocations: 22.51 MB / 470.8 MB, free: 3.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006111/0.3218, allocations: 4.809 MB / 475.6 MB, free: 14.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007436/0.3292, allocations: 5.33 MB / 480.9 MB, free: 9.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002817/0.3321, allocations: 1.383 MB / 482.3 MB, free: 8.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.336, allocations: 1.664 MB / 484 MB, free: 6.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002318/0.3383, allocations: 2.58 MB / 486.6 MB, free: 3.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005697/0.344, allocations: 5.214 MB / 491.8 MB, free: 14.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.3599, allocations: 18.36 MB / 0.4982 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3599, allocations: 0 / 0.4982 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.36, allocations: 0 / 0.4982 GB, free: 12.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003544/0.3603, allocations: 0 / 0.4982 GB, free: 12.25 MB / 430.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.02687/0.3872, allocations: 10.62 MB / 0.5086 GB, free: 1.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3872, allocations: 12.03 kB / 0.5086 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/0.4061, allocations: 3.796 MB / 0.5123 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009138/0.4153, allocations: 5.372 MB / 0.5175 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004615/0.4158, allocations: 0.6785 MB / 0.5182 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002074/0.4179, allocations: 0.8906 MB / 0.5191 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02642/0.4443, allocations: 12.72 MB / 0.5315 GB, free: 9.965 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002079/0.4445, allocations: 3.984 kB / 0.5315 GB, free: 9.961 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/0.4457, allocations: 380 kB / 0.5318 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003175/0.4461, allocations: 399.1 kB / 0.5322 GB, free: 9.199 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4023/0.8483, allocations: 11.41 MB / 0.5434 GB, free: 112 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05419/0.9025, allocations: 43.71 MB / 0.586 GB, free: 80.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007432/0.91, allocations: 10.49 MB / 0.5963 GB, free: 68.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.9117, allocations: 1.683 MB / 0.5979 GB, free: 66.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.912, allocations: 218.8 kB / 0.5981 GB, free: 66.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.912, allocations: 52.56 kB / 0.5982 GB, free: 66.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 3.697e-06/0.912, allocations: 3.156 kB / 0.5982 GB, free: 66.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.007138/0.9192, allocations: 4.681 MB / 0.6028 GB, free: 61.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.9192, allocations: 73.41 kB / 0.6028 GB, free: 61.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/0.9225, allocations: 2.93 MB / 0.6057 GB, free: 58.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.9226, allocations: 61.7 kB / 0.6058 GB, free: 58.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001652/0.9243, allocations: 3.981 MB / 0.6096 GB, free: 55.35 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/0.9248, allocations: 0.8284 MB / 0.6104 GB, free: 54.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.9258, allocations: 0.9527 MB / 0.6114 GB, free: 53.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.103e-05/0.9258, allocations: 305.1 kB / 0.6117 GB, free: 53.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.928, allocations: 1.973 MB / 0.6136 GB, free: 51.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/0.9308, allocations: 4.156 MB / 0.6177 GB, free: 46.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00514/0.936, allocations: 6.513 MB / 0.624 GB, free: 38.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.873e-05/0.936, allocations: 20 kB / 0.624 GB, free: 38.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007689/0.9437, allocations: 6.512 MB / 0.6304 GB, free: 31.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.9438, allocations: 38.19 kB / 0.6304 GB, free: 31.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.206e-05/0.9439, allocations: 76 kB / 0.6305 GB, free: 31.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000747/0.9446, allocations: 424.7 kB / 0.6309 GB, free: 31.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/0.9474, allocations: 1.061 MB / 0.6319 GB, free: 30.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.9513, allocations: 4.378 MB / 0.6362 GB, free: 25.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/0.9543, allocations: 0.6325 MB / 0.6368 GB, free: 25.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/0.9546, allocations: 252 kB / 0.6371 GB, free: 24.99 MB / 462.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 (566): * Single equations (assignments): 564 * 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.004091/0.9587, allocations: 3.369 MB / 0.6404 GB, free: 21.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005919/0.9593, allocations: 290.2 kB / 0.6406 GB, free: 21.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004648/0.964, allocations: 3.581 MB / 0.6441 GB, free: 17.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003186/0.9672, allocations: 2.807 MB / 0.6469 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.9672, allocations: 7.938 kB / 0.6469 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.9672, allocations: 11.95 kB / 0.6469 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.9799, allocations: 9.855 MB / 0.6565 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.98, allocations: 3.938 kB / 0.6565 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.9814, allocations: 415.4 kB / 0.6569 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006064/0.982, allocations: 316.9 kB / 0.6572 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.9821, allocations: 51.98 kB / 0.6573 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/0.9858, allocations: 4.208 MB / 0.6614 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9858, allocations: 0 / 0.6614 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00702/0.9929, allocations: 5.13 MB / 0.6664 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.994, allocations: 0.6235 MB / 0.667 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/0.9943, allocations: 44 kB / 0.667 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.9954, allocations: 135.8 kB / 0.6672 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.9957, allocations: 145.8 kB / 0.6673 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.9958, allocations: 60 kB / 0.6674 GB, free: 9.656 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002827/0.9987, allocations: 1.971 MB / 0.6693 GB, free: 7.676 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.9987, allocations: 0 / 0.6693 GB, free: 7.676 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004662/1.003, allocations: 1.988 MB / 0.6712 GB, free: 5.68 MB / 478.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 (215): * Single equations (assignments): 213 * 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.0004014/1.004, allocations: 198.8 kB / 0.6714 GB, free: 5.473 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006226/1.01, allocations: 4.62 MB / 0.6759 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.01, allocations: 0 / 0.6759 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002193/1.012, allocations: 1.739 MB / 0.6776 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/1.015, allocations: 0.6786 MB / 0.6783 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/1.036, allocations: 13.43 MB / 0.6914 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005708/1.041, allocations: 5.645 MB / 0.6969 GB, free: 11.25 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.003684/1.045, allocations: 1.686 MB / 0.6986 GB, free: 9.562 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/1.046, allocations: 227.4 kB / 0.6988 GB, free: 9.34 MB / 0.4982 GB Notification: Performance of SimCode: time 6.52e-07/1.046, allocations: 0 / 0.6988 GB, free: 9.34 MB / 0.4982 GB Notification: Performance of Templates: time 0.06919/1.115, allocations: 39.93 MB / 0.7378 GB, free: 1.586 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches