Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009393/0.000939, allocations: 92.8 kB / 16.65 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009313/0.0009314, allocations: 184 kB / 17.56 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 11.94 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1078, allocations: 50.41 MB / 351.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006392/0.1142, allocations: 5.496 MB / 357.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.1179, allocations: 1.577 MB / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009521/0.1189, allocations: 39.88 kB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.1195, allocations: 242.3 kB / 359.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.1207, allocations: 330.2 kB / 359.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.1214, allocations: 307.7 kB / 359.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00225/0.1236, allocations: 2.126 MB / 361.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002895/0.1265, allocations: 2.248 MB / 364.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.1279, allocations: 0.7157 MB / 364.9 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.1291, allocations: 0.9175 MB / 365.8 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.1293, allocations: 124 kB / 365.9 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005799/0.1299, allocations: 295.6 kB / 366.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005062/0.1304, allocations: 0.5021 MB / 366.7 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.1315, allocations: 1.016 MB / 367.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1937/0.3253, allocations: 3.54 MB / 371.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3253, allocations: 5.875 kB / 371.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3253, allocations: 0 / 371.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001427/0.3255, allocations: 0.5312 kB / 371.3 MB, free: 13.92 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.004489/0.33, allocations: 2.076 MB / 373.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.33, allocations: 9.875 kB / 373.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007048/0.3307, allocations: 238.8 kB / 373.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.3328, allocations: 1.258 MB / 374.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.3329, allocations: 167.4 kB / 375 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003284/0.3333, allocations: 221.9 kB / 375.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004462/0.3377, allocations: 2.553 MB / 377.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.2e-05/0.3378, allocations: 1.125 kB / 377.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.338, allocations: 93.16 kB / 377.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.442e-05/0.3381, allocations: 55.89 kB / 377.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00355/0.3416, allocations: 2.153 MB / 380.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.3525, allocations: 7.642 MB / 387.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009984/0.3535, allocations: 1.268 MB / 389 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009453/0.3545, allocations: 0.6175 MB / 389.6 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.3545, allocations: 8.078 kB / 389.6 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.3545, allocations: 42.53 kB / 389.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.815e-06/0.3545, allocations: 2.625 kB / 389.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.00361/0.3582, allocations: 2.456 MB / 392.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.3582, allocations: 69.7 kB / 392.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008553/0.3591, allocations: 0.7944 MB / 393 MB, free: 5.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.3591, allocations: 36.45 kB / 393 MB, free: 5.469 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.3595, allocations: 0.9127 MB / 393.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.3596, allocations: 224.6 kB / 394.2 MB, free: 4.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/0.3597, allocations: 70.42 kB / 394.2 MB, free: 4.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.3598, allocations: 396.8 kB / 394.6 MB, free: 4.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/0.3603, allocations: 366.1 kB / 395 MB, free: 3.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.3609, allocations: 0.584 MB / 395.6 MB, free: 3.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.3619, allocations: 1.002 MB / 396.6 MB, free: 2.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3619, allocations: 0 / 396.6 MB, free: 2.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001497/0.3634, allocations: 1.162 MB / 397.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3635, allocations: 12.03 kB / 397.7 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3635, allocations: 11.78 kB / 397.7 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.3637, allocations: 117.3 kB / 397.9 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.3644, allocations: 172.6 kB / 398 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.366, allocations: 2.134 MB / 400.2 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/0.3666, allocations: 42.25 kB / 400.2 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.3666, allocations: 36.59 kB / 400.2 MB, free: 200 kB / 302.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.0009686/0.3676, allocations: 0.6432 MB / 400.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.3678, allocations: 81.56 kB / 401 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.368, allocations: 107.6 kB / 401.1 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.368, allocations: 8 kB / 401.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/0.368, allocations: 3.938 kB / 401.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3681, allocations: 3.984 kB / 401.1 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004141/0.3722, allocations: 2.681 MB / 403.8 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.3722, allocations: 4 kB / 403.8 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.3727, allocations: 116.2 kB / 403.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/0.3729, allocations: 96.78 kB / 404 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.373, allocations: 16 kB / 404 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.375, allocations: 2.078 MB / 406.1 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3751, allocations: 0 / 406.1 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.3772, allocations: 1.433 MB / 407.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.3776, allocations: 224 kB / 407.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.649e-05/0.3777, allocations: 23.45 kB / 407.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.3781, allocations: 47.95 kB / 407.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3782, allocations: 44.5 kB / 407.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.3783, allocations: 23.98 kB / 407.9 MB, free: 8.602 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007187/0.379, allocations: 0.5576 MB / 408.4 MB, free: 8.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.379, allocations: 2.625 kB / 408.4 MB, free: 8.051 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001251/0.3802, allocations: 300.9 kB / 408.7 MB, free: 7.758 MB / 318.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.0003083/0.3806, allocations: 142.1 kB / 408.8 MB, free: 7.613 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.3823, allocations: 1.01 MB / 409.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.3823, allocations: 4.125 kB / 409.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.3831, allocations: 0.5708 MB / 410.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.3844, allocations: 206 kB / 410.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/0.3903, allocations: 4.203 MB / 414.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.3918, allocations: 1.725 MB / 416.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001048/0.3929, allocations: 199.1 kB / 416.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.3932, allocations: 59.44 kB / 416.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3932, allocations: 0 / 416.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Templates: time 0.0355/0.4287, allocations: 11.58 MB / 428.4 MB, free: 4.188 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches