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.0009393/0.0009393, allocations: 95.38 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000965/0.000965, allocations: 204.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002878, allocations: 8 kB / 306.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09579, allocations: 51.48 MB / 358.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01354/0.1094, allocations: 13.28 MB / 371.3 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1722/0.2816, allocations: 3.879 MB / 375.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002907/0.2845, allocations: 119.7 kB / 375.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.2871, allocations: 0.7453 MB / 376.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005324/0.2924, allocations: 1.112 MB / 377.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.2954, allocations: 0.9219 MB / 378.1 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008231/0.3036, allocations: 5.408 MB / 383.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03586/0.3395, allocations: 18.12 MB / 401.6 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007311/0.3469, allocations: 3.031 MB / 404.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007251/0.3541, allocations: 3.392 MB / 408.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002304/0.3565, allocations: 0.5469 MB / 408.6 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004443/0.3609, allocations: 0.7655 MB / 409.4 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002339/0.3633, allocations: 1.464 MB / 410.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004502/0.3678, allocations: 1.748 MB / 412.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.383, allocations: 15.5 MB / 428.1 MB, free: 6.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.383, allocations: 2.734 kB / 428.1 MB, free: 6.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.383, allocations: 0 / 428.1 MB, free: 6.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004213/0.3834, allocations: 0 / 428.1 MB, free: 6.367 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.02266/0.4061, allocations: 8.597 MB / 436.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.4062, allocations: 8.031 kB / 436.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02008/0.4263, allocations: 3.638 MB / 440.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.4378, allocations: 5.121 MB / 445.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006886/0.4386, allocations: 0.6785 MB / 446.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002819/0.4414, allocations: 0.8905 MB / 447 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03048/0.4719, allocations: 12.6 MB / 459.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002314/0.4722, allocations: 11.91 kB / 459.6 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001982/0.4742, allocations: 380 kB / 460 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003951/0.4746, allocations: 403.1 kB / 460.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02368/0.4983, allocations: 11.36 MB / 471.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07355/0.5718, allocations: 44.28 MB / 0.5039 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/0.5828, allocations: 10.52 MB / 0.5142 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.5832, allocations: 220.1 kB / 0.5144 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/0.5833, allocations: 60.55 kB / 0.5145 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 5.911e-06/0.5833, allocations: 4 kB / 0.5145 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of matching and sorting (n=229): time 0.009278/0.5926, allocations: 5.112 MB / 0.5195 GB, free: 11.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.5927, allocations: 73.41 kB / 0.5195 GB, free: 11.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004469/0.5971, allocations: 2.914 MB / 0.5224 GB, free: 8.547 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.5973, allocations: 61.7 kB / 0.5225 GB, free: 8.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002666/0.6, allocations: 3.822 MB / 0.5262 GB, free: 4.609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/0.6012, allocations: 0.813 MB / 0.527 GB, free: 3.785 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.6015, allocations: 92 kB / 0.5271 GB, free: 3.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004759/0.602, allocations: 0.4923 MB / 0.5275 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004521/0.6066, allocations: 2.004 MB / 0.5295 GB, free: 1.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3105/0.9171, allocations: 4.157 MB / 0.5336 GB, free: 125.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/0.9212, allocations: 3.048 MB / 0.5365 GB, free: 125.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.315e-05/0.9213, allocations: 22.06 kB / 0.5366 GB, free: 125.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.00918/0.9305, allocations: 6.561 MB / 0.543 GB, free: 122.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/0.9305, allocations: 37.41 kB / 0.543 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001124/0.9307, allocations: 77.88 kB / 0.5431 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008744/0.9315, allocations: 419.5 kB / 0.5435 GB, free: 122.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/0.9348, allocations: 1.061 MB / 0.5445 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004494/0.9393, allocations: 4.165 MB / 0.5486 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/0.9422, allocations: 0.6187 MB / 0.5492 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/0.9425, allocations: 254.2 kB / 0.5494 GB, free: 119.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * 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.004325/0.9469, allocations: 3.367 MB / 0.5527 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004475/0.9473, allocations: 274.5 kB / 0.553 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/0.9519, allocations: 3.688 MB / 0.5566 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003438/0.9553, allocations: 2.891 MB / 0.5594 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.9554, allocations: 5.688 kB / 0.5594 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.9554, allocations: 11.44 kB / 0.5594 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.968, allocations: 10.05 MB / 0.5692 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.9681, allocations: 0.875 kB / 0.5692 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.9695, allocations: 409.6 kB / 0.5696 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/0.9701, allocations: 306.5 kB / 0.5699 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.9702, allocations: 51.41 kB / 0.57 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003486/0.9737, allocations: 3.978 MB / 0.5739 GB, free: 109.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9737, allocations: 3.953 kB / 0.5739 GB, free: 109.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00543/0.9791, allocations: 5.238 MB / 0.579 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.9802, allocations: 0.6219 MB / 0.5796 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.9805, allocations: 36 kB / 0.5796 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/0.9815, allocations: 138.2 kB / 0.5797 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.9817, allocations: 147 kB / 0.5799 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.9818, allocations: 65.02 kB / 0.5799 GB, free: 104.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002081/0.9839, allocations: 1.938 MB / 0.5818 GB, free: 103 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.71e-07/0.9839, allocations: 0 / 0.5818 GB, free: 103 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004137/0.988, allocations: 1.972 MB / 0.5838 GB, free: 101 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (216): * Single equations (assignments): 211 * 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.0003436/0.9884, allocations: 207 kB / 0.584 GB, free: 100.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005147/0.9935, allocations: 4.699 MB / 0.5885 GB, free: 96.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9936, allocations: 4.062 kB / 0.5886 GB, free: 96.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.9953, allocations: 1.773 MB / 0.5903 GB, free: 94.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.9975, allocations: 0.614 MB / 0.5909 GB, free: 93.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/1.015, allocations: 16.23 MB / 0.6067 GB, free: 77.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004187/1.019, allocations: 5.782 MB / 0.6124 GB, free: 71.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003568/1.023, allocations: 1.69 MB / 0.614 GB, free: 69.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/1.023, allocations: 231.4 kB / 0.6142 GB, free: 69.71 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/1.023, allocations: 3.938 kB / 0.6143 GB, free: 69.7 MB / 446.1 MB Notification: Performance of Templates: time 0.05475/1.078, allocations: 39.59 MB / 0.6529 GB, free: 30.34 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","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches