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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001819/0.001819, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 113.4 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2446, allocations: 50.44 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007385/0.252, allocations: 5.996 MB / 413 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.2554, allocations: 1.637 MB / 414.7 MB, free: 20.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007202/0.2562, allocations: 47.81 kB / 414.7 MB, free: 20.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007604/0.257, allocations: 254.3 kB / 415 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.2582, allocations: 314.2 kB / 415.3 MB, free: 19.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.2589, allocations: 311.7 kB / 415.6 MB, free: 19.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.261, allocations: 2.145 MB / 417.7 MB, free: 17.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.2638, allocations: 2.268 MB / 420 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.2651, allocations: 0.9149 MB / 420.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.2664, allocations: 1.163 MB / 422.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.2668, allocations: 208 kB / 422.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000866/0.2677, allocations: 379.6 kB / 422.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005493/0.2682, allocations: 0.6232 MB / 423.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.2694, allocations: 1.147 MB / 424.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.2728, allocations: 3.686 MB / 428.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2728, allocations: 0 / 428.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2728, allocations: 0 / 428.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.566e-05/0.2729, allocations: 0 / 428.1 MB, free: 6.625 MB / 298.7 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.005642/0.2785, allocations: 2.47 MB / 430.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.2786, allocations: 12.88 kB / 430.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.2797, allocations: 270.1 kB / 430.8 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.2824, allocations: 1.259 MB / 432.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.2825, allocations: 168.9 kB / 432.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.2829, allocations: 224.1 kB / 432.5 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00551/0.2884, allocations: 2.534 MB / 435 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/0.2885, allocations: 0 / 435 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003066/0.2888, allocations: 92 kB / 435.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.912e-05/0.2889, allocations: 60 kB / 435.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005578/0.2945, allocations: 2.141 MB / 437.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.3113, allocations: 7.596 MB / 444.9 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.3131, allocations: 1.26 MB / 446.2 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.3147, allocations: 0.6141 MB / 446.8 MB, free: 3.414 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.3147, allocations: 12.55 kB / 446.8 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.3148, allocations: 43.12 kB / 446.8 MB, free: 3.352 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 3.247e-06/0.3148, allocations: 0 / 446.8 MB, free: 3.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.006748/0.3216, allocations: 2.431 MB / 449.3 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.3217, allocations: 59.97 kB / 449.3 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.3232, allocations: 0.7933 MB / 450.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/0.3233, allocations: 37.7 kB / 450.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007704/0.3241, allocations: 0.9176 MB / 451.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.3243, allocations: 224.8 kB / 451.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003227/0.3246, allocations: 146.6 kB / 451.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.3249, allocations: 390.8 kB / 451.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008706/0.3258, allocations: 373.7 kB / 452.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.3269, allocations: 0.5751 MB / 452.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.3289, allocations: 0.9854 MB / 453.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.329, allocations: 4 kB / 453.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0028/0.3318, allocations: 1.151 MB / 454.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.3318, allocations: 11.94 kB / 454.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.3318, allocations: 4 kB / 454.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/0.3323, allocations: 109.1 kB / 455 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.3333, allocations: 175.7 kB / 455.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.3364, allocations: 2.127 MB / 457.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/0.3372, allocations: 35.97 kB / 457.4 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/0.3373, allocations: 32 kB / 457.4 MB, free: 8.34 MB / 330.7 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.001387/0.3387, allocations: 0.655 MB / 458 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.339, allocations: 83.05 kB / 458.1 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.3393, allocations: 95.75 kB / 458.2 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.334e-05/0.3393, allocations: 15.94 kB / 458.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.3393, allocations: 7.938 kB / 458.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.3394, allocations: 3.984 kB / 458.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006399/0.3458, allocations: 2.662 MB / 460.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3458, allocations: 0 / 460.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.3465, allocations: 107.9 kB / 461 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003504/0.3469, allocations: 100.9 kB / 461.1 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.347, allocations: 20.05 kB / 461.1 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002922/0.3499, allocations: 2.068 MB / 463.2 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.35, allocations: 0 / 463.2 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/0.3619, allocations: 6.382 MB / 469.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/0.3625, allocations: 228.1 kB / 469.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.3626, allocations: 12.08 kB / 469.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.3633, allocations: 48.06 kB / 469.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.3635, allocations: 48.5 kB / 469.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.3636, allocations: 19.98 kB / 469.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001064/0.3647, allocations: 0.5576 MB / 470.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3647, allocations: 0 / 470.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002007/0.3667, allocations: 368 kB / 470.8 MB, free: 10.33 MB / 346.7 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.0003258/0.3671, allocations: 143 kB / 471 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.3695, allocations: 0.9981 MB / 472 MB, free: 9.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3696, allocations: 0 / 472 MB, free: 9.168 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.3709, allocations: 0.5578 MB / 472.5 MB, free: 8.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.3726, allocations: 212.5 kB / 472.7 MB, free: 8.398 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008569/0.3811, allocations: 4.708 MB / 477.5 MB, free: 3.617 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/0.3831, allocations: 1.74 MB / 479.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001021/0.3842, allocations: 211.1 kB / 479.4 MB, free: 1.633 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.3845, allocations: 59.42 kB / 479.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3845, allocations: 4 kB / 479.5 MB, free: 1.57 MB / 346.7 MB Notification: Performance of Templates: time 0.03448/0.419, allocations: 12.65 MB / 492.1 MB, free: 5.031 MB / 362.7 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@2/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