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.001148/0.001148, allocations: 94.36 kB / 16.93 MB, free: 5.977 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.001352/0.001352, allocations: 180.4 kB / 17.82 MB, free: 5.652 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.463/1.463, allocations: 205.4 MB / 224 MB, free: 13.18 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.0006165/0.0006166, allocations: 12 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1166, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01353/0.1302, allocations: 13.55 MB / 341.9 MB, free: 6.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009139/0.1394, allocations: 3.989 MB / 345.9 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/0.143, allocations: 107.7 kB / 346 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003361/0.1464, allocations: 0.773 MB / 346.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005777/0.1522, allocations: 1.266 MB / 348 MB, free: 352 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.156, allocations: 0.9082 MB / 348.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01084/0.1668, allocations: 5.587 MB / 354.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0402/0.2071, allocations: 18.17 MB / 372.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006005/0.2132, allocations: 3.126 MB / 375.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006788/0.22, allocations: 3.54 MB / 379.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003213/0.2233, allocations: 0.5585 MB / 379.9 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2555/0.4788, allocations: 0.7457 MB / 380.6 MB, free: 24.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004029/0.4829, allocations: 1.561 MB / 382.2 MB, free: 24.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005758/0.4887, allocations: 1.798 MB / 384 MB, free: 24.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02103/0.5097, allocations: 15.64 MB / 399.6 MB, free: 18.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5098, allocations: 0 / 399.6 MB, free: 18.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.5098, allocations: 0.6562 kB / 399.6 MB, free: 18.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008156/0.5106, allocations: 2.734 kB / 399.6 MB, free: 18.7 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.02994/0.5406, allocations: 8.851 MB / 408.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5407, allocations: 8.562 kB / 408.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02991/0.5706, allocations: 5.607 MB / 414.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01367/0.5843, allocations: 4.78 MB / 418.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005731/0.5849, allocations: 0.7056 MB / 419.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004469/0.5894, allocations: 0.9183 MB / 420.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03585/0.6252, allocations: 13.47 MB / 434 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002864/0.6256, allocations: 4 kB / 434 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003621/0.6292, allocations: 386.5 kB / 434.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000538/0.6297, allocations: 459.9 kB / 434.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03435/0.6641, allocations: 12.77 MB / 447.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09127/0.7554, allocations: 47.04 MB / 494.6 MB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/0.7723, allocations: 17.09 MB / 0.4997 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01566/0.788, allocations: 6.168 MB / 0.5058 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.7881, allocations: 56.56 kB / 0.5058 GB, free: 9.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=196): time 4.589e-06/0.7881, allocations: 0 / 0.5058 GB, free: 9.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=196): time 0.009167/0.7973, allocations: 4.753 MB / 0.5104 GB, free: 4.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.7974, allocations: 73.41 kB / 0.5105 GB, free: 4.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007864/0.8053, allocations: 3.293 MB / 0.5137 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003292/0.8056, allocations: 57.7 kB / 0.5138 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003847/0.8095, allocations: 4.173 MB / 0.5179 GB, free: 12.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.8106, allocations: 0.7166 MB / 0.5186 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006295/0.8113, allocations: 108 kB / 0.5187 GB, free: 11.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005718/0.8119, allocations: 0.509 MB / 0.5192 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/0.8155, allocations: 2.075 MB / 0.5212 GB, free: 9.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005539/0.8211, allocations: 4.684 MB / 0.5258 GB, free: 3.199 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004969/0.8261, allocations: 3.233 MB / 0.5289 GB, free: 52 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.411e-05/0.8262, allocations: 24 kB / 0.5289 GB, free: 28 kB / 430.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.2654/1.092, allocations: 7.065 MB / 0.5358 GB, free: 135.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/1.092, allocations: 46.31 kB / 0.5359 GB, free: 135.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/1.092, allocations: 94.66 kB / 0.536 GB, free: 135.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/1.093, allocations: 442.7 kB / 0.5364 GB, free: 135.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003954/1.097, allocations: 1.178 MB / 0.5376 GB, free: 135.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/1.101, allocations: 4.157 MB / 0.5416 GB, free: 132.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0049/1.106, allocations: 0.7187 MB / 0.5423 GB, free: 132.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009884/1.107, allocations: 291.2 kB / 0.5426 GB, free: 132.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 416 * 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.007283/1.115, allocations: 3.483 MB / 0.546 GB, free: 130.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007606/1.115, allocations: 284.4 kB / 0.5463 GB, free: 130.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004827/1.12, allocations: 3.433 MB / 0.5496 GB, free: 129.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003218/1.123, allocations: 2.641 MB / 0.5522 GB, free: 128.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/1.124, allocations: 3 kB / 0.5522 GB, free: 128.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/1.124, allocations: 13.42 kB / 0.5522 GB, free: 128.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/1.14, allocations: 9.444 MB / 0.5614 GB, free: 121.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.14, allocations: 0 / 0.5614 GB, free: 121.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/1.141, allocations: 367.8 kB / 0.5618 GB, free: 121.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006668/1.142, allocations: 310.1 kB / 0.5621 GB, free: 121.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.142, allocations: 43.66 kB / 0.5621 GB, free: 121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003909/1.146, allocations: 3.977 MB / 0.566 GB, free: 117.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.146, allocations: 0 / 0.566 GB, free: 117.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/1.152, allocations: 4.865 MB / 0.5708 GB, free: 113.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00175/1.154, allocations: 0.6229 MB / 0.5714 GB, free: 112.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000477/1.154, allocations: 32 kB / 0.5714 GB, free: 112.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.156, allocations: 139.1 kB / 0.5715 GB, free: 112.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/1.156, allocations: 121.5 kB / 0.5716 GB, free: 112.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.156, allocations: 58.81 kB / 0.5717 GB, free: 112.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003995/1.16, allocations: 2.164 MB / 0.5738 GB, free: 110.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.1e-07/1.16, allocations: 0 / 0.5738 GB, free: 110.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00971/1.17, allocations: 2.039 MB / 0.5758 GB, free: 108.5 MB / 430.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 (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.0007507/1.17, allocations: 198 kB / 0.576 GB, free: 108.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007959/1.178, allocations: 4.791 MB / 0.5807 GB, free: 103.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.178, allocations: 3.938 kB / 0.5807 GB, free: 103.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002224/1.181, allocations: 1.651 MB / 0.5823 GB, free: 101.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/1.184, allocations: 0.621 MB / 0.5829 GB, free: 101.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02709/1.211, allocations: 16.64 MB / 0.5991 GB, free: 84.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006645/1.218, allocations: 5.928 MB / 0.6049 GB, free: 78.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00453/1.222, allocations: 1.837 MB / 0.6067 GB, free: 76.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/1.223, allocations: 231.4 kB / 0.607 GB, free: 76.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/1.223, allocations: 0 / 0.607 GB, free: 76.52 MB / 430.1 MB Notification: Performance of Templates: time 0.06968/1.293, allocations: 39.66 MB / 0.6457 GB, free: 36.88 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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