Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 98.34 kB / 16.95 MB, free: 6.453 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.0009186/0.0009187, allocations: 182.5 kB / 17.84 MB, free: 6.004 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.79/1.79, allocations: 205.4 MB / 224 MB, free: 13.14 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.0005251/0.0005254, allocations: 12 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1425, allocations: 47.58 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.00646/0.149, allocations: 5.136 MB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.1523, allocations: 1.578 MB / 335.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005409/0.1528, allocations: 43.81 kB / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004905/0.1533, allocations: 222.3 kB / 335.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.1544, allocations: 302.2 kB / 335.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.155, allocations: 231.7 kB / 335.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.1576, allocations: 1.985 MB / 337.8 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.1602, allocations: 1.856 MB / 339.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.1615, allocations: 0.7043 MB / 340.4 MB, free: 7.957 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.1627, allocations: 0.879 MB / 341.3 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.1629, allocations: 124 kB / 341.4 MB, free: 6.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005237/0.1634, allocations: 239.8 kB / 341.6 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004984/0.1639, allocations: 0.5062 MB / 342.1 MB, free: 6.211 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004968/0.1645, allocations: 432.6 kB / 342.5 MB, free: 5.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.1674, allocations: 3.039 MB / 345.6 MB, free: 2.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.1674, allocations: 0 / 345.6 MB, free: 2.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1674, allocations: 3.938 kB / 345.6 MB, free: 2.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.815e-05/0.1675, allocations: 4 kB / 345.6 MB, free: 2.727 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004002/0.1715, allocations: 2.091 MB / 347.7 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.1716, allocations: 8.031 kB / 347.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/0.1722, allocations: 237.3 kB / 347.9 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.1742, allocations: 1.149 MB / 349.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.1744, allocations: 168.5 kB / 349.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.1747, allocations: 216 kB / 349.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004698/0.1795, allocations: 2.534 MB / 352 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.1795, allocations: 0 / 352 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.1797, allocations: 88 kB / 352.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.545e-05/0.1798, allocations: 56 kB / 352.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/0.1839, allocations: 2.137 MB / 354.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.1977, allocations: 7.635 MB / 361.9 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.1991, allocations: 1.261 MB / 363.2 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.2002, allocations: 0.6258 MB / 363.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-05/0.2003, allocations: 4.562 kB / 363.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.2003, allocations: 43.08 kB / 363.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 4.098e-06/0.2004, allocations: 4 kB / 363.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004884/0.2052, allocations: 2.463 MB / 366.3 MB, free: 13.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.2053, allocations: 59.97 kB / 366.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.2064, allocations: 0.7855 MB / 367.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.2064, allocations: 37.7 kB / 367.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007473/0.2072, allocations: 0.9137 MB / 368.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.2074, allocations: 236.7 kB / 368.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.2074, allocations: 16 kB / 368.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.2077, allocations: 390.7 kB / 368.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/0.2083, allocations: 369.8 kB / 369.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/0.2091, allocations: 0.5829 MB / 369.7 MB, free: 9.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/0.2098, allocations: 469.8 kB / 370.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.2098, allocations: 4 kB / 370.1 MB, free: 9.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001809/0.2116, allocations: 1.151 MB / 371.3 MB, free: 8.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.2117, allocations: 8 kB / 371.3 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.2117, allocations: 8 kB / 371.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.212, allocations: 116.7 kB / 371.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.2127, allocations: 179.8 kB / 371.6 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.2152, allocations: 2.131 MB / 373.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.2157, allocations: 39.97 kB / 373.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/0.2158, allocations: 36 kB / 373.8 MB, free: 5.621 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001516/0.2174, allocations: 0.6575 MB / 374.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.2176, allocations: 82.97 kB / 374.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.2178, allocations: 99.55 kB / 374.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.2178, allocations: 8 kB / 374.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/0.2179, allocations: 4 kB / 374.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.2179, allocations: 3.984 kB / 374.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/0.2226, allocations: 2.685 MB / 377.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2226, allocations: 0 / 377.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/0.223, allocations: 111.9 kB / 377.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002614/0.2233, allocations: 105.1 kB / 377.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.2234, allocations: 23.94 kB / 377.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3165/0.5399, allocations: 2.066 MB / 379.6 MB, free: 48.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.54, allocations: 4.375 kB / 379.6 MB, free: 48.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.5427, allocations: 1.435 MB / 381.1 MB, free: 48.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005212/0.5432, allocations: 223.5 kB / 381.3 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.5433, allocations: 19.8 kB / 381.3 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.5438, allocations: 47.42 kB / 381.3 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.544, allocations: 49.42 kB / 381.4 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.544, allocations: 19.97 kB / 381.4 MB, free: 48.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001066/0.5451, allocations: 0.5543 MB / 382 MB, free: 48.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5451, allocations: 0 / 382 MB, free: 48.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001519/0.5466, allocations: 298 kB / 382.3 MB, free: 48.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002763/0.5469, allocations: 129.7 kB / 382.4 MB, free: 48.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.5488, allocations: 1.017 MB / 383.4 MB, free: 48.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5488, allocations: 1.469 kB / 383.4 MB, free: 48.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009324/0.5497, allocations: 0.5663 MB / 384 MB, free: 47.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.5508, allocations: 213.7 kB / 384.2 MB, free: 47.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006256/0.557, allocations: 4 MB / 388.2 MB, free: 45.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/0.559, allocations: 1.72 MB / 389.9 MB, free: 44.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007904/0.5598, allocations: 203.8 kB / 390.1 MB, free: 44.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.56, allocations: 63.16 kB / 390.2 MB, free: 44.69 MB / 318.1 MB Notification: Performance of SimCode: time 1.002e-06/0.56, allocations: 4 kB / 390.2 MB, free: 44.68 MB / 318.1 MB Notification: Performance of Templates: time 0.02246/0.5825, allocations: 11.3 MB / 401.5 MB, free: 39.73 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches