Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 93.92 kB / 16.95 MB, free: 6.047 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.0009166/0.0009165, allocations: 183.3 kB / 17.84 MB, free: 5.684 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.555/1.555, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005781/0.0005783, allocations: 12 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1224, allocations: 47.59 MB / 328.4 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.0163/0.1388, allocations: 14.48 MB / 342.8 MB, free: 5.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.1491, allocations: 3.856 MB / 346.7 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/0.1536, allocations: 111.7 kB / 346.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004537/0.1582, allocations: 0.7064 MB / 347.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007181/0.1654, allocations: 1.271 MB / 348.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.1699, allocations: 0.9045 MB / 349.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01427/0.1842, allocations: 7.941 MB / 357.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04775/0.232, allocations: 18.37 MB / 376 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006855/0.2389, allocations: 3.407 MB / 379.4 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2508/0.4897, allocations: 3.851 MB / 383.3 MB, free: 21.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004298/0.4941, allocations: 0.5531 MB / 383.8 MB, free: 21.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007579/0.5017, allocations: 0.7857 MB / 384.6 MB, free: 21.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006801/0.5086, allocations: 1.594 MB / 386.2 MB, free: 21.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007221/0.5158, allocations: 1.794 MB / 388 MB, free: 21.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02249/0.5383, allocations: 15.66 MB / 403.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.5384, allocations: 2.312 kB / 403.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.5384, allocations: 0 / 403.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.00075/0.5392, allocations: 0 / 403.6 MB, free: 15.03 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03064/0.5698, allocations: 8.855 MB / 412.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5699, allocations: 7.25 kB / 412.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02947/0.5994, allocations: 5.73 MB / 418.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/0.6114, allocations: 4.787 MB / 423 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00086/0.6123, allocations: 0.702 MB / 423.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0045/0.6169, allocations: 0.9239 MB / 424.6 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05424/0.6711, allocations: 13.54 MB / 438.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005996/0.6718, allocations: 7.984 kB / 438.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005095/0.6769, allocations: 394.6 kB / 438.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006437/0.6776, allocations: 455.9 kB / 439 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03699/0.7146, allocations: 12.77 MB / 451.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1075/0.8221, allocations: 47.02 MB / 498.8 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/0.8379, allocations: 17.1 MB / 0.5038 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.8411, allocations: 1.904 MB / 0.5057 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01262/0.8537, allocations: 6.087 MB / 0.5116 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.8538, allocations: 56.03 kB / 0.5117 GB, free: 1.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=194): time 5.25e-06/0.8538, allocations: 0 / 0.5117 GB, free: 1.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=194): time 0.008441/0.8623, allocations: 4.385 MB / 0.516 GB, free: 13.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.8624, allocations: 73.41 kB / 0.516 GB, free: 13.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006161/0.8685, allocations: 3.301 MB / 0.5193 GB, free: 10.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002168/0.8688, allocations: 57.7 kB / 0.5193 GB, free: 10.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002963/0.8717, allocations: 4.18 MB / 0.5234 GB, free: 5.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000832/0.8726, allocations: 0.7132 MB / 0.5241 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/0.873, allocations: 104 kB / 0.5242 GB, free: 5.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004423/0.8735, allocations: 0.5051 MB / 0.5247 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/0.8768, allocations: 2.063 MB / 0.5267 GB, free: 2.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2208/1.098, allocations: 4.708 MB / 0.5313 GB, free: 133.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006625/1.104, allocations: 3.22 MB / 0.5344 GB, free: 133.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/1.104, allocations: 26.53 kB / 0.5345 GB, free: 133.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01184/1.116, allocations: 7.057 MB / 0.5414 GB, free: 131.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/1.116, allocations: 47.47 kB / 0.5414 GB, free: 131.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.117, allocations: 94.53 kB / 0.5415 GB, free: 131.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008002/1.117, allocations: 438.8 kB / 0.5419 GB, free: 131.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/1.12, allocations: 1.173 MB / 0.5431 GB, free: 130.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/1.124, allocations: 4.065 MB / 0.547 GB, free: 128.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003668/1.128, allocations: 0.713 MB / 0.5477 GB, free: 128.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003977/1.128, allocations: 293.2 kB / 0.548 GB, free: 128.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (626): * Single equations (assignments): 621 * 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.006745/1.135, allocations: 3.482 MB / 0.5514 GB, free: 126.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/1.136, allocations: 289.6 kB / 0.5517 GB, free: 126.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004946/1.141, allocations: 3.389 MB / 0.555 GB, free: 125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003031/1.144, allocations: 2.614 MB / 0.5575 GB, free: 124 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.144, allocations: 7.938 kB / 0.5575 GB, free: 124 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/1.144, allocations: 14.7 kB / 0.5576 GB, free: 124 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/1.158, allocations: 9.395 MB / 0.5667 GB, free: 118.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.158, allocations: 4 kB / 0.5667 GB, free: 118.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.159, allocations: 356.3 kB / 0.5671 GB, free: 118 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005864/1.16, allocations: 318.7 kB / 0.5674 GB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/1.16, allocations: 47.95 kB / 0.5674 GB, free: 117.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003886/1.164, allocations: 3.866 MB / 0.5712 GB, free: 114.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.164, allocations: 4.094 kB / 0.5712 GB, free: 114.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0055/1.17, allocations: 4.821 MB / 0.5759 GB, free: 109.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.171, allocations: 0.6244 MB / 0.5765 GB, free: 109.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/1.171, allocations: 39.95 kB / 0.5766 GB, free: 109.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009763/1.172, allocations: 136.6 kB / 0.5767 GB, free: 109.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/1.172, allocations: 129.1 kB / 0.5768 GB, free: 109.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.172, allocations: 59.94 kB / 0.5769 GB, free: 109.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003339/1.176, allocations: 2.163 MB / 0.579 GB, free: 107.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.176, allocations: 0 / 0.579 GB, free: 107.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006244/1.182, allocations: 2.032 MB / 0.581 GB, free: 105.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (183): * Single equations (assignments): 178 * 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.0005215/1.183, allocations: 205.1 kB / 0.5812 GB, free: 105.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006979/1.19, allocations: 4.777 MB / 0.5858 GB, free: 100.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.19, allocations: 0 / 0.5858 GB, free: 100.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001777/1.191, allocations: 1.629 MB / 0.5874 GB, free: 98.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/1.194, allocations: 0.6509 MB / 0.5881 GB, free: 98.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02942/1.224, allocations: 16.86 MB / 0.6045 GB, free: 81.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004901/1.229, allocations: 5.792 MB / 0.6102 GB, free: 75.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004305/1.233, allocations: 1.828 MB / 0.612 GB, free: 73.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/1.234, allocations: 235.4 kB / 0.6122 GB, free: 73.45 MB / 430.1 MB Notification: Performance of SimCode: time 1.633e-06/1.234, allocations: 0 / 0.6122 GB, free: 73.45 MB / 430.1 MB Notification: Performance of Templates: time 0.06313/1.297, allocations: 39.69 MB / 0.6509 GB, free: 33.78 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches