Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 188.1 kB / 22.92 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 207.6 MB / 233.5 MB, free: 11 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 55.91 kB / 345.4 MB, free: 10.53 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2477, allocations: 49.12 MB / 394.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01666/0.2643, allocations: 16.94 MB / 411.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.2754, allocations: 4.271 MB / 415.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.2783, allocations: 119.6 kB / 415.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01786/0.2962, allocations: 7.514 MB / 423.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008969/0.3052, allocations: 1.547 MB / 424.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005069/0.3102, allocations: 1.21 MB / 426.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01366/0.3239, allocations: 8.574 MB / 434.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03042/0.3543, allocations: 13.7 MB / 448.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008652/0.363, allocations: 4.972 MB / 453.4 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.3733, allocations: 5.567 MB / 458.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004826/0.3782, allocations: 1.402 MB / 460.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006509/0.3847, allocations: 1.656 MB / 462 MB, free: 64 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005226/0.3899, allocations: 2.716 MB / 464.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01105/0.401, allocations: 5.381 MB / 470.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02571/0.4267, allocations: 18.58 MB / 488.7 MB, free: 5.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.4267, allocations: 4 kB / 488.7 MB, free: 5.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.4267, allocations: 7.984 kB / 488.7 MB, free: 5.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004823/0.4272, allocations: 0 / 488.7 MB, free: 5.297 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03345/0.4606, allocations: 10.98 MB / 499.7 MB, free: 10.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.4607, allocations: 11.89 kB / 499.7 MB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03116/0.4918, allocations: 5.75 MB / 0.4936 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.5025, allocations: 4.854 MB / 0.4983 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000684/0.5032, allocations: 0.7025 MB / 0.499 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003391/0.5066, allocations: 0.914 MB / 0.4999 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03538/0.542, allocations: 13.61 MB / 0.5132 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002602/0.5423, allocations: 11.94 kB / 0.5132 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002192/0.5445, allocations: 392 kB / 0.5136 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004379/0.5449, allocations: 456 kB / 0.514 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02748/0.5724, allocations: 12.82 MB / 0.5265 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4314/1.004, allocations: 46.46 MB / 0.5719 GB, free: 115.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/1.015, allocations: 16.86 MB / 0.5884 GB, free: 100.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00261/1.018, allocations: 1.697 MB / 0.59 GB, free: 100.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009268/1.027, allocations: 5.981 MB / 0.5959 GB, free: 100.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.027, allocations: 59.97 kB / 0.5959 GB, free: 100.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.306e-06/1.027, allocations: 0 / 0.5959 GB, free: 100.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.006774/1.034, allocations: 4.311 MB / 0.6001 GB, free: 98.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/1.034, allocations: 76.72 kB / 0.6002 GB, free: 98.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003822/1.038, allocations: 3.329 MB / 0.6035 GB, free: 97.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/1.038, allocations: 57.33 kB / 0.6035 GB, free: 97.62 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001806/1.04, allocations: 4.355 MB / 0.6078 GB, free: 95.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/1.04, allocations: 0.7153 MB / 0.6085 GB, free: 94.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/1.041, allocations: 1.071 MB / 0.6095 GB, free: 93.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.767e-05/1.041, allocations: 301.1 kB / 0.6098 GB, free: 93.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/1.044, allocations: 2.044 MB / 0.6118 GB, free: 92.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00302/1.047, allocations: 4.688 MB / 0.6164 GB, free: 88.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/1.052, allocations: 7.091 MB / 0.6233 GB, free: 81.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.922e-05/1.052, allocations: 27.56 kB / 0.6233 GB, free: 81.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.008209/1.06, allocations: 7.023 MB / 0.6302 GB, free: 78.29 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/1.061, allocations: 46.03 kB / 0.6302 GB, free: 78.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.438e-05/1.061, allocations: 92.09 kB / 0.6303 GB, free: 78.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007377/1.061, allocations: 429 kB / 0.6307 GB, free: 78.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/1.064, allocations: 1.18 MB / 0.6319 GB, free: 77.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003818/1.068, allocations: 4.381 MB / 0.6361 GB, free: 73.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/1.071, allocations: 0.7295 MB / 0.6369 GB, free: 72.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/1.072, allocations: 288 kB / 0.6371 GB, free: 72.18 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004087/1.076, allocations: 3.489 MB / 0.6405 GB, free: 68.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/1.076, allocations: 302 kB / 0.6408 GB, free: 68.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/1.081, allocations: 3.305 MB / 0.6441 GB, free: 65.06 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002943/1.083, allocations: 2.534 MB / 0.6465 GB, free: 62.51 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.084, allocations: 4 kB / 0.6465 GB, free: 62.51 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.084, allocations: 11.95 kB / 0.6465 GB, free: 62.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/1.098, allocations: 9.288 MB / 0.6556 GB, free: 53.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.098, allocations: 4 kB / 0.6556 GB, free: 53.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/1.1, allocations: 355.5 kB / 0.656 GB, free: 52.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006234/1.1, allocations: 312.7 kB / 0.6563 GB, free: 52.51 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/1.1, allocations: 43.94 kB / 0.6563 GB, free: 52.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/1.104, allocations: 4.213 MB / 0.6604 GB, free: 48.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.104, allocations: 0 / 0.6604 GB, free: 48.12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005274/1.109, allocations: 4.7 MB / 0.665 GB, free: 43.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000995/1.11, allocations: 0.5963 MB / 0.6656 GB, free: 42.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/1.111, allocations: 43.89 kB / 0.6656 GB, free: 42.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/1.112, allocations: 135.9 kB / 0.6658 GB, free: 42.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/1.112, allocations: 125.8 kB / 0.6659 GB, free: 42.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.112, allocations: 56 kB / 0.6659 GB, free: 42.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002668/1.115, allocations: 2.19 MB / 0.6681 GB, free: 40.22 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/1.115, allocations: 0 / 0.6681 GB, free: 40.22 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005313/1.12, allocations: 2.07 MB / 0.6701 GB, free: 38.14 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005995/1.121, allocations: 198 kB / 0.6703 GB, free: 37.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006054/1.127, allocations: 4.518 MB / 0.6747 GB, free: 33.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.127, allocations: 0 / 0.6747 GB, free: 33.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/1.128, allocations: 1.478 MB / 0.6761 GB, free: 31.94 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/1.131, allocations: 0.6889 MB / 0.6768 GB, free: 31.26 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/1.151, allocations: 14.06 MB / 0.6905 GB, free: 17.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004377/1.155, allocations: 5.796 MB / 0.6962 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003553/1.159, allocations: 1.828 MB / 0.698 GB, free: 9.504 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/1.159, allocations: 239.4 kB / 0.6982 GB, free: 9.27 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/1.159, allocations: 0 / 0.6982 GB, free: 9.27 MB / 478.1 MB Notification: Performance of Templates: time 0.08065/1.24, allocations: 41.63 MB / 0.7389 GB, free: 15.64 MB / 0.5138 GB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.663042183965445]