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.00153/0.00153, allocations: 92.31 kB / 21.73 MB, free: 2.684 MB / 18.57 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.001486/0.001486, allocations: 161.1 kB / 25.02 MB, free: 8.957 MB / 18.57 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.402/1.402, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 250.4 MB, free: 7.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.708e-05, allocations: 5.969 kB / 250.4 MB, free: 7.922 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01986/0.01988, allocations: 14.54 MB / 264.9 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009796/0.02968, allocations: 4.17 MB / 269.1 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.03211, allocations: 135.4 kB / 269.2 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01851/0.05062, allocations: 7.353 MB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006728/0.05735, allocations: 1.428 MB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.06135, allocations: 1.336 MB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01389/0.07524, allocations: 8.908 MB / 288.2 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02639/0.1016, allocations: 14.35 MB / 302.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01439/0.116, allocations: 7.516 MB / 310.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01021/0.1262, allocations: 4.846 MB / 315 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003727/0.1299, allocations: 1.402 MB / 316.4 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005996/0.1359, allocations: 1.667 MB / 318 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005051/0.141, allocations: 2.758 MB / 320.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008594/0.1496, allocations: 3.599 MB / 324.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02514/0.1747, allocations: 18.75 MB / 343.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1747, allocations: 0 / 343.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1747, allocations: 0 / 343.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004291/0.1752, allocations: 0 / 343.1 MB, free: 10.7 MB / 330.7 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.2614/0.4365, allocations: 10.81 MB / 353.9 MB, free: 91.32 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4366, allocations: 14.25 kB / 354 MB, free: 91.31 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02986/0.4665, allocations: 7.137 MB / 361.1 MB, free: 89.23 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008722/0.4752, allocations: 5.032 MB / 366.1 MB, free: 84.56 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000512/0.4757, allocations: 0.709 MB / 366.8 MB, free: 83.86 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00264/0.4783, allocations: 0.9178 MB / 367.8 MB, free: 82.95 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0278/0.5061, allocations: 13.67 MB / 381.4 MB, free: 69.23 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003904/0.5065, allocations: 7.984 kB / 381.4 MB, free: 69.22 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002854/0.5094, allocations: 387.8 kB / 381.8 MB, free: 68.85 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003619/0.5097, allocations: 456 kB / 382.3 MB, free: 68.4 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02281/0.5325, allocations: 12.78 MB / 395 MB, free: 55.59 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05884/0.5914, allocations: 40.56 MB / 435.6 MB, free: 14.6 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009318/0.6007, allocations: 5.323 MB / 440.9 MB, free: 9.766 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.6028, allocations: 1.702 MB / 442.6 MB, free: 8.059 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008913/0.6117, allocations: 5.413 MB / 448 MB, free: 2.734 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.6117, allocations: 56.5 kB / 448.1 MB, free: 2.668 MB / 330.8 MB Notification: Performance of pre-optimization done (n=188): time 4.779e-06/0.6117, allocations: 0 / 448.1 MB, free: 2.668 MB / 330.8 MB Notification: Performance of matching and sorting (n=188): time 0.00788/0.6196, allocations: 4.304 MB / 452.4 MB, free: 14.36 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.6197, allocations: 69.41 kB / 452.5 MB, free: 14.28 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006557/0.6262, allocations: 3.466 MB / 455.9 MB, free: 10.8 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.6264, allocations: 61.7 kB / 456 MB, free: 10.73 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004026/0.6304, allocations: 4.336 MB / 460.3 MB, free: 6.391 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.6316, allocations: 0.7152 MB / 461 MB, free: 5.684 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002098/0.6337, allocations: 1.052 MB / 462.1 MB, free: 4.621 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6338, allocations: 309.1 kB / 462.4 MB, free: 4.316 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00376/0.6376, allocations: 2.04 MB / 464.4 MB, free: 2.27 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006861/0.6445, allocations: 4.686 MB / 469.1 MB, free: 12.28 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/0.656, allocations: 7.097 MB / 476.2 MB, free: 3.895 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/0.6561, allocations: 28 kB / 476.3 MB, free: 3.867 MB / 362.8 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01615/0.6723, allocations: 7.274 MB / 483.5 MB, free: 12.58 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.6724, allocations: 47.98 kB / 483.6 MB, free: 12.54 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002455/0.6727, allocations: 95.94 kB / 483.7 MB, free: 12.44 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.6744, allocations: 0.5186 MB / 484.2 MB, free: 11.93 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004452/0.6789, allocations: 1.174 MB / 485.4 MB, free: 10.75 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007238/0.6861, allocations: 4.219 MB / 489.6 MB, free: 6.434 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004622/0.6907, allocations: 0.7334 MB / 490.3 MB, free: 5.695 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009968/0.6917, allocations: 284 kB / 490.6 MB, free: 5.418 MB / 378.8 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.007241/0.699, allocations: 3.489 MB / 494.1 MB, free: 1.914 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/0.7, allocations: 366 kB / 494.4 MB, free: 1.555 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1697/0.8697, allocations: 3.292 MB / 497.7 MB, free: 123 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002999/0.8727, allocations: 2.545 MB / 0.4885 GB, free: 122.6 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.8728, allocations: 3.906 kB / 0.4885 GB, free: 122.6 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.8728, allocations: 7.5 kB / 0.4886 GB, free: 122.6 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.8836, allocations: 7.43 MB / 0.4958 GB, free: 119.8 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.8837, allocations: 0 / 0.4958 GB, free: 119.8 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.885, allocations: 358 kB / 0.4962 GB, free: 119.8 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.8861, allocations: 396.1 kB / 0.4965 GB, free: 119.7 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.8862, allocations: 46.41 kB / 0.4966 GB, free: 119.7 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00399/0.8902, allocations: 4.029 MB / 0.5005 GB, free: 117.2 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8902, allocations: 2.75 kB / 0.5005 GB, free: 117.2 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005438/0.8956, allocations: 4.773 MB / 0.5052 GB, free: 115.3 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.8966, allocations: 0.5367 MB / 0.5057 GB, free: 115.2 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000311/0.8969, allocations: 36.28 kB / 0.5057 GB, free: 115.1 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.898, allocations: 134.4 kB / 0.5059 GB, free: 115.1 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.8983, allocations: 132.2 kB / 0.506 GB, free: 115.1 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.8984, allocations: 56.98 kB / 0.506 GB, free: 115.1 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002551/0.9009, allocations: 2.172 MB / 0.5082 GB, free: 114.2 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.9009, allocations: 0 / 0.5082 GB, free: 114.2 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004606/0.9056, allocations: 2.058 MB / 0.5102 GB, free: 112.4 MB / 378.8 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.0004056/0.906, allocations: 196.7 kB / 0.5104 GB, free: 112.2 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005757/0.9117, allocations: 4.521 MB / 0.5148 GB, free: 108.3 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9117, allocations: 0 / 0.5148 GB, free: 108.3 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.9134, allocations: 1.483 MB / 0.5162 GB, free: 107 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/0.9165, allocations: 0.701 MB / 0.5169 GB, free: 106.5 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/0.9377, allocations: 14.23 MB / 0.5308 GB, free: 92.58 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005265/0.9429, allocations: 5.336 MB / 0.536 GB, free: 87.2 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003697/0.9466, allocations: 1.826 MB / 0.5378 GB, free: 85.39 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.9472, allocations: 236.5 kB / 0.538 GB, free: 85.16 MB / 378.8 MB Notification: Performance of SimCode: time 1.893e-06/0.9472, allocations: 4 kB / 0.538 GB, free: 85.15 MB / 378.8 MB Notification: Performance of Templates: time 0.07136/1.019, allocations: 36.02 MB / 0.5732 GB, free: 49.18 MB / 378.8 MB " [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.60469411406666]