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.0009773/0.0009774, allocations: 96.11 kB / 17 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 197 kB / 17.9 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 8 kB / 307.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09684, allocations: 51.53 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.1743/0.2712, allocations: 14.17 MB / 372.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007416/0.2786, allocations: 3.771 MB / 376.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.2819, allocations: 124.5 kB / 376.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.2844, allocations: 0.6905 MB / 377.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004342/0.2887, allocations: 1.076 MB / 378.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.2911, allocations: 0.9261 MB / 379.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007934/0.299, allocations: 7.559 MB / 387 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02888/0.3279, allocations: 18.33 MB / 405.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005093/0.333, allocations: 3.28 MB / 408.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005892/0.339, allocations: 3.662 MB / 412.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001981/0.341, allocations: 0.543 MB / 412.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003317/0.3443, allocations: 0.8079 MB / 413.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.3457, allocations: 1.485 MB / 415.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002723/0.3485, allocations: 1.748 MB / 416.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01592/0.3644, allocations: 15.51 MB / 432.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.3645, allocations: 0 / 432.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3645, allocations: 0 / 432.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000517/0.365, allocations: 0 / 432.3 MB, free: 2.066 MB / 334.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.02234/0.3873, allocations: 8.595 MB / 440.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3874, allocations: 12.03 kB / 440.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01941/0.4068, allocations: 3.759 MB / 444.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.4175, allocations: 5.129 MB / 449.8 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006859/0.4182, allocations: 0.6785 MB / 450.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/0.4213, allocations: 0.8904 MB / 451.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02986/0.4512, allocations: 12.66 MB / 464 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001727/0.4514, allocations: 7.906 kB / 464 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/0.4524, allocations: 383.9 kB / 464.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003369/0.4527, allocations: 395.1 kB / 464.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/0.4752, allocations: 11.36 MB / 476.2 MB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06568/0.5409, allocations: 44.28 MB / 0.5082 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.5514, allocations: 10.52 MB / 0.5185 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/0.5539, allocations: 1.716 MB / 0.5202 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.5542, allocations: 220.1 kB / 0.5204 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.5543, allocations: 60.56 kB / 0.5205 GB, free: 10.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 4.729e-06/0.5543, allocations: 3.938 kB / 0.5205 GB, free: 10.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=229): time 0.008342/0.5627, allocations: 4.737 MB / 0.5251 GB, free: 5.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.5627, allocations: 73.41 kB / 0.5252 GB, free: 5.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004323/0.567, allocations: 2.91 MB / 0.528 GB, free: 2.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.5672, allocations: 61.7 kB / 0.5281 GB, free: 2.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3172/0.8844, allocations: 3.816 MB / 0.5318 GB, free: 128.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008208/0.8853, allocations: 0.8112 MB / 0.5326 GB, free: 128 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.8855, allocations: 94.59 kB / 0.5327 GB, free: 128 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.8858, allocations: 0.4945 MB / 0.5332 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/0.889, allocations: 1.993 MB / 0.5351 GB, free: 127.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003582/0.8926, allocations: 4.184 MB / 0.5392 GB, free: 124.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003766/0.8964, allocations: 3.038 MB / 0.5421 GB, free: 123.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.924e-05/0.8964, allocations: 21.22 kB / 0.5422 GB, free: 123.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.009906/0.9064, allocations: 6.543 MB / 0.5486 GB, free: 120.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.847e-05/0.9065, allocations: 37.39 kB / 0.5486 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/0.9066, allocations: 74.56 kB / 0.5487 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008492/0.9074, allocations: 418.3 kB / 0.5491 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/0.9105, allocations: 1.065 MB / 0.5501 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.9145, allocations: 4.066 MB / 0.5541 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.9172, allocations: 0.62 MB / 0.5547 GB, free: 117.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/0.9175, allocations: 247.8 kB / 0.5549 GB, free: 117.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004053/0.9216, allocations: 3.373 MB / 0.5582 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004583/0.9221, allocations: 274.6 kB / 0.5585 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005096/0.9272, allocations: 3.65 MB / 0.562 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003323/0.9305, allocations: 2.88 MB / 0.5648 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.9305, allocations: 4.75 kB / 0.5649 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.9306, allocations: 11.44 kB / 0.5649 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.9431, allocations: 10.04 MB / 0.5747 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.9431, allocations: 0 / 0.5747 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.9445, allocations: 412.5 kB / 0.5751 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005759/0.9451, allocations: 321.1 kB / 0.5754 GB, free: 109.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.9452, allocations: 51.77 kB / 0.5754 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/0.9487, allocations: 3.886 MB / 0.5792 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9487, allocations: 4 kB / 0.5792 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/0.9542, allocations: 5.227 MB / 0.5843 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008949/0.9552, allocations: 0.622 MB / 0.5849 GB, free: 99.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.9554, allocations: 43.98 kB / 0.585 GB, free: 99.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000935/0.9564, allocations: 137.9 kB / 0.5851 GB, free: 99.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.9566, allocations: 145.8 kB / 0.5852 GB, free: 99.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.9567, allocations: 63.98 kB / 0.5853 GB, free: 99.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002171/0.9589, allocations: 1.939 MB / 0.5872 GB, free: 97.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9589, allocations: 4 kB / 0.5872 GB, free: 97.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004014/0.9629, allocations: 1.965 MB / 0.5891 GB, free: 95.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000332/0.9632, allocations: 202.2 kB / 0.5893 GB, free: 95.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005687/0.9689, allocations: 4.673 MB / 0.5939 GB, free: 90.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.969, allocations: 0 / 0.5939 GB, free: 90.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.9709, allocations: 1.774 MB / 0.5956 GB, free: 88.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/0.9736, allocations: 0.6516 MB / 0.5962 GB, free: 88.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/0.9919, allocations: 16.29 MB / 0.6122 GB, free: 71.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004321/0.9962, allocations: 5.646 MB / 0.6177 GB, free: 66.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003694/1, allocations: 1.69 MB / 0.6193 GB, free: 64.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/1.001, allocations: 235.4 kB / 0.6195 GB, free: 64.29 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/1.001, allocations: 0 / 0.6195 GB, free: 64.29 MB / 446.1 MB Notification: Performance of Templates: time 0.06036/1.061, allocations: 39.61 MB / 0.6582 GB, free: 24.9 MB / 446.1 MB 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