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.0008479/0.0008477, allocations: 95.31 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009963/0.0009964, allocations: 200.3 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.7 MB / 247.5 MB, free: 11.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002259/0.000226, allocations: 4 kB / 308.4 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.0925, allocations: 51.53 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006139/0.09868, allocations: 5.518 MB / 365.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003569/0.1023, allocations: 1.635 MB / 367.1 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.1034, allocations: 43.81 kB / 367.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008804/0.1043, allocations: 242.3 kB / 367.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.106, allocations: 330.2 kB / 367.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.1071, allocations: 303.8 kB / 368 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002961/0.1101, allocations: 2.122 MB / 370.1 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/0.1135, allocations: 2.252 MB / 372.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.1148, allocations: 0.7197 MB / 373.1 MB, free: 4 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1755/0.2903, allocations: 0.9108 MB / 374 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.2914, allocations: 123.7 kB / 374.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2929, allocations: 277 kB / 374.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.2939, allocations: 0.4972 MB / 374.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002014/0.296, allocations: 1.02 MB / 375.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.3002, allocations: 3.069 MB / 378.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3003, allocations: 2.375 kB / 378.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3003, allocations: 0 / 378.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000133/0.3004, allocations: 0 / 378.9 MB, free: 10.21 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.004717/0.3051, allocations: 2.091 MB / 381 MB, free: 9.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3052, allocations: 9.5 kB / 381 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.3062, allocations: 273.5 kB / 381.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.3083, allocations: 1.277 MB / 382.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.3084, allocations: 172.2 kB / 382.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.3088, allocations: 218.4 kB / 383 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00506/0.3138, allocations: 2.546 MB / 385.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.3139, allocations: 0.9688 kB / 385.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.3141, allocations: 93.48 kB / 385.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.98e-05/0.3142, allocations: 56.5 kB / 385.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004218/0.3184, allocations: 2.157 MB / 387.8 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.3311, allocations: 7.654 MB / 395.5 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.3323, allocations: 1.261 MB / 396.7 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009866/0.3333, allocations: 0.6265 MB / 397.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.3334, allocations: 6.562 kB / 397.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3334, allocations: 38.69 kB / 397.4 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 3.316e-06/0.3334, allocations: 0 / 397.4 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004282/0.3377, allocations: 2.467 MB / 399.9 MB, free: 15.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.3377, allocations: 60.03 kB / 399.9 MB, free: 15.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.3388, allocations: 0.804 MB / 400.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.3389, allocations: 37.45 kB / 400.8 MB, free: 14.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005784/0.3394, allocations: 0.9179 MB / 401.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.3396, allocations: 226.5 kB / 401.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3397, allocations: 70.42 kB / 402 MB, free: 13.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3399, allocations: 390.6 kB / 402.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.3405, allocations: 367.9 kB / 402.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007194/0.3412, allocations: 0.5824 MB / 403.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.3425, allocations: 1.005 MB / 404.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3426, allocations: 1.219 kB / 404.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001963/0.3445, allocations: 1.162 MB / 405.5 MB, free: 10.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3446, allocations: 8 kB / 405.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.3446, allocations: 11.94 kB / 405.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.3449, allocations: 115.5 kB / 405.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/0.3456, allocations: 175.1 kB / 405.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.348, allocations: 2.133 MB / 407.9 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007081/0.3487, allocations: 43.97 kB / 407.9 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.096e-05/0.3488, allocations: 39.98 kB / 408 MB, free: 8.316 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.001334/0.3501, allocations: 0.6564 MB / 408.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.3503, allocations: 82.97 kB / 408.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.3506, allocations: 95.69 kB / 408.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.832e-05/0.3506, allocations: 11.98 kB / 408.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.3506, allocations: 7.938 kB / 408.8 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3506, allocations: 0 / 408.8 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004452/0.3551, allocations: 2.683 MB / 411.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3551, allocations: 4.156 kB / 411.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/0.3556, allocations: 113.2 kB / 411.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.3559, allocations: 99.5 kB / 411.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.3559, allocations: 12 kB / 411.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.3579, allocations: 2.084 MB / 413.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3579, allocations: 2.625 kB / 413.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.3601, allocations: 1.434 MB / 415.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.3605, allocations: 228 kB / 415.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/0.3606, allocations: 15.98 kB / 415.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.3611, allocations: 39.97 kB / 415.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.3612, allocations: 59.83 kB / 415.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.3613, allocations: 16 kB / 415.6 MB, free: 488 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007902/0.3621, allocations: 0.5614 MB / 416.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3621, allocations: 0 / 416.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001216/0.3633, allocations: 309 kB / 416.5 MB, free: 15.62 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.0002604/0.3636, allocations: 137.7 kB / 416.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.3653, allocations: 1.015 MB / 417.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3653, allocations: 3.938 kB / 417.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009258/0.3663, allocations: 0.5672 MB / 418.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.3677, allocations: 197.7 kB / 418.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006714/0.3744, allocations: 4.202 MB / 422.6 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/0.376, allocations: 1.684 MB / 424.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.3764, allocations: 67.42 kB / 424.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3764, allocations: 0 / 424.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of Templates: time 0.04146/0.4179, allocations: 28.27 MB / 452.6 MB, free: 11.49 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches