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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.523/1.523, allocations: 207.6 MB / 236 MB, free: 9.98 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 51.92 kB / 348.5 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2496, allocations: 49.16 MB / 397.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01551/0.2652, allocations: 16.94 MB / 414.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.2758, allocations: 4.273 MB / 418.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004679/0.2805, allocations: 134.6 kB / 419 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01802/0.2985, allocations: 7.546 MB / 426.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007512/0.306, allocations: 1.415 MB / 427.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00456/0.3106, allocations: 1.375 MB / 429.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01187/0.3224, allocations: 8.617 MB / 437.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02822/0.3506, allocations: 14.46 MB / 452.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008549/0.3592, allocations: 5.066 MB / 457.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009466/0.3687, allocations: 5.567 MB / 463 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003862/0.3725, allocations: 1.406 MB / 464.4 MB, free: 248 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005694/0.3782, allocations: 1.672 MB / 466.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004501/0.3827, allocations: 2.716 MB / 468.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00959/0.3923, allocations: 5.378 MB / 474.2 MB, free: 6.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02496/0.4173, allocations: 18.58 MB / 492.8 MB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4173, allocations: 0 / 492.8 MB, free: 3.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4173, allocations: 0 / 492.8 MB, free: 3.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004835/0.4178, allocations: 4 kB / 492.8 MB, free: 3.812 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.03034/0.4481, allocations: 10.91 MB / 0.4919 GB, free: 8.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4481, allocations: 11.98 kB / 0.4919 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03029/0.4784, allocations: 5.746 MB / 0.4975 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.4906, allocations: 4.911 MB / 0.5023 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000731/0.4914, allocations: 0.7026 MB / 0.503 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003378/0.4947, allocations: 0.9218 MB / 0.5039 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03652/0.5313, allocations: 13.59 MB / 0.5171 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003046/0.5316, allocations: 11.94 kB / 0.5172 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003082/0.5346, allocations: 396 kB / 0.5175 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005755/0.5352, allocations: 456 kB / 0.518 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03119/0.5664, allocations: 12.83 MB / 0.5305 GB, free: 1.129 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5064/1.073, allocations: 44.44 MB / 0.5739 GB, free: 117.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.083, allocations: 5.367 MB / 0.5791 GB, free: 117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/1.086, allocations: 1.702 MB / 0.5808 GB, free: 116.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/1.097, allocations: 5.745 MB / 0.5864 GB, free: 116.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/1.097, allocations: 54.38 kB / 0.5865 GB, free: 116.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.878e-06/1.097, allocations: 0 / 0.5865 GB, free: 116.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.006927/1.104, allocations: 4.243 MB / 0.5906 GB, free: 115.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/1.104, allocations: 71.25 kB / 0.5907 GB, free: 115.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005731/1.11, allocations: 3.332 MB / 0.5939 GB, free: 114.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001861/1.11, allocations: 57.08 kB / 0.594 GB, free: 114.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002771/1.113, allocations: 4.346 MB / 0.5982 GB, free: 111.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007283/1.114, allocations: 0.7297 MB / 0.5989 GB, free: 110.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001798/1.115, allocations: 1.067 MB / 0.6 GB, free: 110.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.476e-05/1.116, allocations: 301.1 kB / 0.6003 GB, free: 109.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/1.118, allocations: 2.046 MB / 0.6023 GB, free: 108.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003497/1.121, allocations: 4.685 MB / 0.6068 GB, free: 104.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006757/1.128, allocations: 7.092 MB / 0.6138 GB, free: 97.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/1.128, allocations: 32.78 kB / 0.6138 GB, free: 97.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01147/1.14, allocations: 7.016 MB / 0.6206 GB, free: 94.26 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/1.14, allocations: 42.59 kB / 0.6207 GB, free: 94.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/1.14, allocations: 93.12 kB / 0.6208 GB, free: 94.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000951/1.141, allocations: 430.2 kB / 0.6212 GB, free: 94.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003723/1.145, allocations: 1.181 MB / 0.6223 GB, free: 93.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/1.149, allocations: 4.266 MB / 0.6265 GB, free: 88.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004147/1.153, allocations: 0.7373 MB / 0.6272 GB, free: 88.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008005/1.154, allocations: 284 kB / 0.6275 GB, free: 87.85 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.005412/1.159, allocations: 3.489 MB / 0.6309 GB, free: 84.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007011/1.16, allocations: 302 kB / 0.6312 GB, free: 84.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004637/1.165, allocations: 3.309 MB / 0.6344 GB, free: 80.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0029/1.168, allocations: 2.538 MB / 0.6369 GB, free: 78.17 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.168, allocations: 4 kB / 0.6369 GB, free: 78.17 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/1.168, allocations: 7.969 kB / 0.6369 GB, free: 78.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.186, allocations: 9.333 MB / 0.646 GB, free: 68.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.186, allocations: 0 / 0.646 GB, free: 68.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.187, allocations: 359.4 kB / 0.6464 GB, free: 68.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006977/1.188, allocations: 325.2 kB / 0.6467 GB, free: 68.13 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/1.188, allocations: 40 kB / 0.6467 GB, free: 68.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003991/1.192, allocations: 4.089 MB / 0.6507 GB, free: 63.89 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.192, allocations: 0 / 0.6507 GB, free: 63.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/1.198, allocations: 4.712 MB / 0.6553 GB, free: 59.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.199, allocations: 0.5366 MB / 0.6558 GB, free: 58.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005792/1.2, allocations: 40 kB / 0.6559 GB, free: 58.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.201, allocations: 131.8 kB / 0.656 GB, free: 58.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/1.201, allocations: 135 kB / 0.6561 GB, free: 58.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.201, allocations: 51.98 kB / 0.6562 GB, free: 58.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003468/1.205, allocations: 2.198 MB / 0.6583 GB, free: 56.05 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.205, allocations: 0 / 0.6583 GB, free: 56.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006478/1.211, allocations: 2.058 MB / 0.6603 GB, free: 53.99 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.0005124/1.212, allocations: 198.5 kB / 0.6605 GB, free: 53.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006304/1.218, allocations: 4.52 MB / 0.6649 GB, free: 49.28 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/1.218, allocations: 0 / 0.6649 GB, free: 49.28 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/1.22, allocations: 1.479 MB / 0.6664 GB, free: 47.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/1.224, allocations: 0.6874 MB / 0.667 GB, free: 47.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/1.249, allocations: 13.8 MB / 0.6805 GB, free: 33.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006672/1.256, allocations: 5.623 MB / 0.686 GB, free: 27.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.257, allocations: 279.4 kB / 0.6863 GB, free: 27.34 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/1.257, allocations: 4 kB / 0.6863 GB, free: 27.34 MB / 478.1 MB Notification: Performance of Templates: time 0.4009/1.658, allocations: 136.8 MB / 0.8199 GB, free: 132.1 MB / 0.5138 GB " [Timeout remaining time 658] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/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: 14.986249790061265]