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.0009138/0.0009142, allocations: 92.5 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008686/0.0008687, allocations: 201.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.7 MB / 246.8 MB, free: 9.688 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.0002717, allocations: 8 kB / 307.7 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1252, allocations: 51.52 MB / 359.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006259/0.1315, allocations: 5.525 MB / 364.8 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003733/0.1352, allocations: 1.628 MB / 366.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009608/0.1362, allocations: 47.81 kB / 366.4 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005798/0.1368, allocations: 238.3 kB / 366.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.1381, allocations: 330.2 kB / 367 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006859/0.1388, allocations: 303.7 kB / 367.3 MB, free: 4.984 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.141, allocations: 2.122 MB / 369.4 MB, free: 2.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002673/0.1437, allocations: 2.248 MB / 371.7 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2222/0.3659, allocations: 0.7145 MB / 372.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.3685, allocations: 0.918 MB / 373.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005387/0.3691, allocations: 123.9 kB / 373.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009639/0.3701, allocations: 277.1 kB / 373.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005566/0.3706, allocations: 0.4936 MB / 374.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001686/0.3723, allocations: 1.024 MB / 375.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005287/0.3776, allocations: 3.543 MB / 378.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3777, allocations: 1.188 kB / 378.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3777, allocations: 1.125 kB / 378.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001351/0.3778, allocations: 0.8438 kB / 378.8 MB, free: 9.781 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.005056/0.3829, allocations: 2.09 MB / 380.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.3829, allocations: 10.09 kB / 380.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.3841, allocations: 275 kB / 381.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.3862, allocations: 1.284 MB / 382.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.216e-05/0.3864, allocations: 166.3 kB / 382.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003339/0.3867, allocations: 220 kB / 382.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004903/0.3916, allocations: 2.55 MB / 385.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.595e-05/0.3917, allocations: 0 / 385.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.3919, allocations: 91.16 kB / 385.4 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.137e-05/0.392, allocations: 64.05 kB / 385.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003904/0.3959, allocations: 2.149 MB / 387.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.4082, allocations: 7.654 MB / 395.3 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.4093, allocations: 1.257 MB / 396.5 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.4103, allocations: 0.6214 MB / 397.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.4104, allocations: 7.688 kB / 397.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.4104, allocations: 46.5 kB / 397.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 4.258e-06/0.4104, allocations: 3.984 kB / 397.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.00409/0.4145, allocations: 2.46 MB / 399.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.4146, allocations: 58.94 kB / 399.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009522/0.4155, allocations: 0.8059 MB / 400.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.4156, allocations: 41.05 kB / 400.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005623/0.4162, allocations: 0.9138 MB / 401.5 MB, free: 13 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.4163, allocations: 225.8 kB / 401.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.4164, allocations: 68.55 kB / 401.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4166, allocations: 392.4 kB / 402.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/0.4172, allocations: 368.7 kB / 402.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/0.4178, allocations: 0.5884 MB / 403.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.4192, allocations: 1.001 MB / 404.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4192, allocations: 2.719 kB / 404.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001868/0.4211, allocations: 1.159 MB / 405.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4211, allocations: 8 kB / 405.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.4211, allocations: 11.94 kB / 405.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002772/0.4214, allocations: 108.8 kB / 405.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.4221, allocations: 181.1 kB / 405.6 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.4242, allocations: 2.131 MB / 407.7 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.4248, allocations: 49 kB / 407.8 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.4249, allocations: 32.06 kB / 407.8 MB, free: 7.41 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001237/0.4261, allocations: 0.6523 MB / 408.4 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.4263, allocations: 86.97 kB / 408.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.4265, allocations: 106.5 kB / 408.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-05/0.4266, allocations: 8 kB / 408.6 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.4266, allocations: 7.875 kB / 408.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.4266, allocations: 3.984 kB / 408.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/0.4311, allocations: 2.685 MB / 411.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4311, allocations: 0 / 411.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.4316, allocations: 114 kB / 411.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.4318, allocations: 96.16 kB / 411.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.4319, allocations: 16 kB / 411.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.434, allocations: 2.072 MB / 413.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.434, allocations: 4.031 kB / 413.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.4364, allocations: 1.44 MB / 415.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.4369, allocations: 224 kB / 415.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.437, allocations: 16 kB / 415.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.4375, allocations: 43.95 kB / 415.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.4376, allocations: 52.03 kB / 415.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.4377, allocations: 20 kB / 415.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008021/0.4385, allocations: 0.5654 MB / 416 MB, free: 15.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4385, allocations: 0 / 416 MB, free: 15.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001207/0.4397, allocations: 300.6 kB / 416.3 MB, free: 14.71 MB / 334.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002629/0.44, allocations: 136.7 kB / 416.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.4417, allocations: 1.016 MB / 417.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4418, allocations: 3.938 kB / 417.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008875/0.4426, allocations: 0.5677 MB / 418 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.444, allocations: 208.7 kB / 418.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006247/0.4503, allocations: 4.204 MB / 422.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.4517, allocations: 1.725 MB / 424.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006972/0.4524, allocations: 210.4 kB / 424.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.4526, allocations: 63.42 kB / 424.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4526, allocations: 0 / 424.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of Templates: time 0.02495/0.4776, allocations: 11.53 MB / 435.9 MB, free: 11.16 MB / 350.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches