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.001051/0.001051, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2611, allocations: 50.55 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006818/0.268, allocations: 6.019 MB / 415.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.2706, allocations: 1.682 MB / 417 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.271, allocations: 47.81 kB / 417 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.2715, allocations: 305.5 kB / 417.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009335/0.2725, allocations: 377.5 kB / 417.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.2731, allocations: 351.5 kB / 418 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.2749, allocations: 2.02 MB / 420 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.2777, allocations: 2.727 MB / 422.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.2788, allocations: 1.048 MB / 423.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.28, allocations: 1.21 MB / 425 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003333/0.2804, allocations: 308 kB / 425.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006523/0.281, allocations: 459.7 kB / 425.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005772/0.2816, allocations: 0.7286 MB / 426.5 MB, free: 220 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.2828, allocations: 1.26 MB / 427.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003262/0.2861, allocations: 3.811 MB / 431.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2861, allocations: 0 / 431.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2861, allocations: 0 / 431.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.2861, allocations: 0 / 431.6 MB, free: 11.13 MB / 350.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.003815/0.2899, allocations: 2.522 MB / 434.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.29, allocations: 12.03 kB / 434.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007432/0.2907, allocations: 279.4 kB / 434.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.2926, allocations: 1.342 MB / 435.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.2927, allocations: 172.8 kB / 435.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.293, allocations: 224.1 kB / 436.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003945/0.2969, allocations: 2.545 MB / 438.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.297, allocations: 0 / 438.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/0.2972, allocations: 92 kB / 438.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.129e-05/0.2972, allocations: 56 kB / 438.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.3006, allocations: 2.141 MB / 440.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009525/0.3101, allocations: 7.505 MB / 448.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.3113, allocations: 1.25 MB / 449.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.3123, allocations: 0.6297 MB / 450.3 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.3124, allocations: 8.562 kB / 450.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3124, allocations: 39.12 kB / 450.4 MB, free: 7.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.074e-06/0.3124, allocations: 4 kB / 450.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.003739/0.3162, allocations: 2.454 MB / 452.8 MB, free: 5.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.3162, allocations: 63.91 kB / 452.9 MB, free: 5.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/0.3172, allocations: 0.8128 MB / 453.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.3172, allocations: 33.7 kB / 453.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000537/0.3178, allocations: 0.9441 MB / 454.7 MB, free: 3.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.3179, allocations: 238 kB / 454.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.3181, allocations: 142.6 kB / 455 MB, free: 2.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3183, allocations: 402.7 kB / 455.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/0.3189, allocations: 361.8 kB / 455.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006904/0.3196, allocations: 0.5789 MB / 456.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.3209, allocations: 0.9816 MB / 457.3 MB, free: 500 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3209, allocations: 4 kB / 457.4 MB, free: 496 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001708/0.3226, allocations: 1.155 MB / 458.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3226, allocations: 12.5 kB / 458.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3227, allocations: 8 kB / 458.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.3229, allocations: 112.8 kB / 458.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.3236, allocations: 171.7 kB / 458.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.3257, allocations: 2.322 MB / 461.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.3261, allocations: 44.03 kB / 461.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.3262, allocations: 35.98 kB / 461.2 MB, free: 12.48 MB / 382.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.001032/0.3272, allocations: 0.6535 MB / 461.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.3274, allocations: 91.38 kB / 461.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.3276, allocations: 99.69 kB / 462 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.3276, allocations: 11.98 kB / 462.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3277, allocations: 0 / 462.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3277, allocations: 11.98 kB / 462.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/0.3317, allocations: 2.655 MB / 464.7 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.3317, allocations: 4 kB / 464.7 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.3321, allocations: 107.9 kB / 464.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.3324, allocations: 104.9 kB / 464.9 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.3325, allocations: 16 kB / 465 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.3348, allocations: 2.263 MB / 467.2 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3348, allocations: 8.344 kB / 467.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.337, allocations: 1.421 MB / 468.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.3374, allocations: 228.5 kB / 468.9 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.3375, allocations: 19.94 kB / 468.9 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.3379, allocations: 43.89 kB / 468.9 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.338, allocations: 48.44 kB / 469 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/0.3381, allocations: 23.98 kB / 469 MB, free: 4.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007187/0.3388, allocations: 0.5615 MB / 469.6 MB, free: 3.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3388, allocations: 0 / 469.6 MB, free: 3.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009802/0.3398, allocations: 300 kB / 469.9 MB, free: 3.539 MB / 382.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.0003159/0.3401, allocations: 131.1 kB / 470 MB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.342, allocations: 1.006 MB / 471 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3421, allocations: 1.688 kB / 471 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000881/0.3429, allocations: 0.5682 MB / 471.6 MB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.344, allocations: 225.2 kB / 471.8 MB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.349, allocations: 3.269 MB / 475 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.3504, allocations: 1.724 MB / 476.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005145/0.3509, allocations: 207.1 kB / 477 MB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.3511, allocations: 55.44 kB / 477 MB, free: 12.25 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3511, allocations: 0 / 477 MB, free: 12.25 MB / 398.1 MB Notification: Performance of Templates: time 0.01989/0.371, allocations: 12.41 MB / 489.4 MB, free: 15.96 MB / 414.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