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.00154/0.00154, allocations: 111.2 kB / 17.68 MB, free: 5.332 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.001513/0.001513, allocations: 192 kB / 18.62 MB, free: 4.41 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.346/1.346, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 47.11 kB / 302 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1019, allocations: 49.45 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007016/0.1089, allocations: 5.992 MB / 357.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.1122, allocations: 1.639 MB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006124/0.1129, allocations: 47.81 kB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.1135, allocations: 301.5 kB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.1146, allocations: 373.5 kB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006372/0.1152, allocations: 343.6 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.1171, allocations: 2.017 MB / 362.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.1199, allocations: 2.739 MB / 364.9 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.1211, allocations: 1.04 MB / 366 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.1225, allocations: 1.199 MB / 367.2 MB, free: 3.902 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003288/0.1228, allocations: 312 kB / 367.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006778/0.1235, allocations: 479.6 kB / 367.9 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006003/0.1241, allocations: 0.7325 MB / 368.7 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.1255, allocations: 1.26 MB / 369.9 MB, free: 1.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1905/0.316, allocations: 3.794 MB / 373.7 MB, free: 16.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.316, allocations: 0 / 373.7 MB, free: 16.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3161, allocations: 0.6562 kB / 373.7 MB, free: 16.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000113/0.3162, allocations: 3.375 kB / 373.7 MB, free: 16.91 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.005322/0.3215, allocations: 2.47 MB / 376.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3216, allocations: 15.8 kB / 376.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006369/0.3222, allocations: 240.5 kB / 376.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.3246, allocations: 1.299 MB / 377.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.3247, allocations: 168.3 kB / 377.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/0.325, allocations: 225.4 kB / 378.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/0.3293, allocations: 2.543 MB / 380.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.3293, allocations: 0 / 380.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.3295, allocations: 93.19 kB / 380.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.864e-05/0.3296, allocations: 57.66 kB / 380.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.3329, allocations: 2.144 MB / 383 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.3457, allocations: 7.479 MB / 390.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/0.3467, allocations: 1.26 MB / 391.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008892/0.3477, allocations: 0.6237 MB / 392.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.719e-05/0.3477, allocations: 10.83 kB / 392.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3478, allocations: 38.22 kB / 392.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.735e-06/0.3478, allocations: 0 / 392.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004873/0.3526, allocations: 2.43 MB / 394.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.3527, allocations: 58.03 kB / 394.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.3537, allocations: 0.7966 MB / 395.7 MB, free: 5.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.3537, allocations: 37.61 kB / 395.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.3542, allocations: 0.9164 MB / 396.6 MB, free: 5.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.3543, allocations: 222.6 kB / 396.8 MB, free: 4.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.3545, allocations: 151.7 kB / 397 MB, free: 4.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.3546, allocations: 390 kB / 397.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.355, allocations: 363.2 kB / 397.7 MB, free: 4.289 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/0.3556, allocations: 0.5829 MB / 398.3 MB, free: 3.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.3566, allocations: 0.9858 MB / 399.3 MB, free: 3.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3567, allocations: 7.719 kB / 399.3 MB, free: 3.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001448/0.3581, allocations: 1.143 MB / 400.4 MB, free: 2.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3581, allocations: 7.531 kB / 400.4 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3582, allocations: 11.59 kB / 400.4 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/0.3584, allocations: 115.2 kB / 400.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.3591, allocations: 172.1 kB / 400.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.3609, allocations: 2.328 MB / 403.1 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.3615, allocations: 35.97 kB / 403.1 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.3616, allocations: 33.08 kB / 403.1 MB, free: 96 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.00132/0.3629, allocations: 0.6509 MB / 403.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.3631, allocations: 87.03 kB / 403.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.3633, allocations: 103.5 kB / 404 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/0.3633, allocations: 8 kB / 404 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/0.3634, allocations: 4 kB / 404 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3634, allocations: 3.984 kB / 404 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/0.3679, allocations: 2.656 MB / 406.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.3679, allocations: 8.031 kB / 406.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.3684, allocations: 112.1 kB / 406.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/0.3686, allocations: 92.78 kB / 406.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.3687, allocations: 16 kB / 406.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.3707, allocations: 2.27 MB / 409.1 MB, free: 9.926 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.3707, allocations: 7.312 kB / 409.1 MB, free: 9.922 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.3728, allocations: 1.414 MB / 410.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/0.3733, allocations: 224 kB / 410.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.326e-05/0.3734, allocations: 16 kB / 410.8 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.3738, allocations: 44.02 kB / 410.8 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3739, allocations: 48.44 kB / 410.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.374, allocations: 23.98 kB / 410.9 MB, free: 8.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007539/0.3747, allocations: 0.5536 MB / 411.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3747, allocations: 0 / 411.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001273/0.376, allocations: 296 kB / 411.7 MB, free: 7.281 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.0002793/0.3763, allocations: 152.8 kB / 411.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.3779, allocations: 0.9962 MB / 412.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.378, allocations: 0 / 412.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008843/0.3788, allocations: 0.5608 MB / 413.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.3799, allocations: 224.3 kB / 413.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/0.3855, allocations: 3.199 MB / 416.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.3869, allocations: 1.717 MB / 418.6 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005844/0.3875, allocations: 207.1 kB / 418.8 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.3877, allocations: 59.42 kB / 418.8 MB, free: 120 kB / 318.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3877, allocations: 0 / 418.8 MB, free: 120 kB / 318.1 MB Notification: Performance of Templates: time 0.02302/0.4107, allocations: 12.23 MB / 431.1 MB, free: 4.082 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 -s cvode -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/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_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches