Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 101.1 kB / 16.99 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.001402/0.001402, 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.414/1.414, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 8 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1541, allocations: 51.48 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006028/0.1602, allocations: 4.923 MB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004167/0.1644, allocations: 1.624 MB / 364.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.1659, allocations: 43.81 kB / 364.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.167, allocations: 250.5 kB / 364.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.1688, allocations: 287.1 kB / 365.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.17, allocations: 227.7 kB / 365.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.1729, allocations: 1.272 MB / 366.7 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003642/0.1766, allocations: 1.884 MB / 368.5 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.1782, allocations: 0.6889 MB / 369.2 MB, free: 2.676 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.18, allocations: 0.805 MB / 370 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005777/0.1806, allocations: 124 kB / 370.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.1816, allocations: 251.7 kB / 370.4 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007531/0.1824, allocations: 486.5 kB / 370.9 MB, free: 1.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00094/0.1834, allocations: 436.6 kB / 371.3 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2129/0.3962, allocations: 3.041 MB / 374.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3963, allocations: 1 kB / 374.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3963, allocations: 0 / 374.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000153/0.3964, allocations: 1.188 kB / 374.4 MB, free: 11.88 MB / 302.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.007091/0.4035, allocations: 2.106 MB / 376.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.402e-05/0.4036, allocations: 8.906 kB / 376.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.4057, allocations: 274.8 kB / 376.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.4093, allocations: 1.241 MB / 378 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.4095, allocations: 167.4 kB / 378.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006076/0.4101, allocations: 218.5 kB / 378.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005491/0.4156, allocations: 2.514 MB / 380.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.4157, allocations: 0 / 380.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.4159, allocations: 97.58 kB / 381 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.525e-05/0.416, allocations: 55.44 kB / 381 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003992/0.42, allocations: 2.136 MB / 383.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0134/0.4334, allocations: 7.636 MB / 390.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.4347, allocations: 1.267 MB / 392.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.188e-05/0.4348, allocations: 6.281 kB / 392.1 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.4348, allocations: 38.31 kB / 392.1 MB, free: 4.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 3.917e-06/0.4348, allocations: 1.031 kB / 392.1 MB, free: 4.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=64): time 0.004788/0.4396, allocations: 2.594 MB / 394.7 MB, free: 3.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.4397, allocations: 57.47 kB / 394.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.4408, allocations: 0.7815 MB / 395.5 MB, free: 2.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.4408, allocations: 37.67 kB / 395.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/0.4413, allocations: 0.9234 MB / 396.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.4415, allocations: 227.3 kB / 396.7 MB, free: 1.664 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.4415, allocations: 16.12 kB / 396.7 MB, free: 1.652 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4416, allocations: 388 kB / 397.1 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/0.4422, allocations: 367.8 kB / 397.5 MB, free: 1.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.4428, allocations: 0.5854 MB / 398.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.4434, allocations: 471.4 kB / 398.5 MB, free: 404 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4434, allocations: 6.922 kB / 398.5 MB, free: 400 kB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001639/0.4451, allocations: 1.133 MB / 399.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.4451, allocations: 7.656 kB / 399.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.4451, allocations: 9.781 kB / 399.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.4454, allocations: 89.81 kB / 399.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.4461, allocations: 181 kB / 399.9 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.4481, allocations: 1.958 MB / 401.9 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000692/0.4488, allocations: 35.69 kB / 401.9 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.4489, allocations: 36.36 kB / 402 MB, free: 13.97 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 (91): * Single equations (assignments): 88 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001491/0.4504, allocations: 0.648 MB / 402.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.4506, allocations: 86.92 kB / 402.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.4508, allocations: 101.2 kB / 402.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/0.4508, allocations: 11.42 kB / 402.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.4509, allocations: 2.25 kB / 402.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4509, allocations: 256 / 402.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004983/0.4559, allocations: 2.627 MB / 405.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.4559, allocations: 4 kB / 405.4 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.4564, allocations: 114.8 kB / 405.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/0.4567, allocations: 74.36 kB / 405.6 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.4567, allocations: 15.98 kB / 405.6 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.4585, allocations: 1.911 MB / 407.5 MB, free: 9.016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4585, allocations: 4.031 kB / 407.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.4606, allocations: 1.423 MB / 409 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.461, allocations: 220.1 kB / 409.2 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.225e-05/0.4611, allocations: 12 kB / 409.2 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.4615, allocations: 51.95 kB / 409.3 MB, free: 7.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.4616, allocations: 55.59 kB / 409.3 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.4617, allocations: 16 kB / 409.3 MB, free: 7.191 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007935/0.4625, allocations: 0.5497 MB / 409.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4625, allocations: 0 / 409.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001213/0.4637, allocations: 304 kB / 410.2 MB, free: 6.352 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (56): * Single equations (assignments): 53 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002377/0.464, allocations: 131.6 kB / 410.3 MB, free: 6.219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.4655, allocations: 0.9985 MB / 411.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4655, allocations: 1.688 kB / 411.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.4662, allocations: 0.5407 MB / 411.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.4671, allocations: 205.8 kB / 412 MB, free: 4.492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/0.4725, allocations: 3.963 MB / 416 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.4738, allocations: 1.758 MB / 417.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006023/0.4744, allocations: 207 kB / 418 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.4746, allocations: 59.42 kB / 418 MB, free: 14.44 MB / 334.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4746, allocations: 0 / 418 MB, free: 14.44 MB / 334.1 MB Notification: Performance of Templates: time 0.01964/0.4943, allocations: 11.28 MB / 429.3 MB, free: 3.328 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches