Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.0007234/0.0007234, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001787, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007277/0.0007277, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009381/0.001666, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9317/0.9317, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1294/1.061, allocations: 49.49 MB / 220.5 MB, free: 1.457 MB / 218.7 MB " [Timeout remaining time 179] 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.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.648e-06/1.084e-05, allocations: 6.109 kB / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.002964/0.002975, allocations: 3.685 MB / 225.5 MB, free: 12.47 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.004541, allocations: 1.484 MB / 227 MB, free: 10.98 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.004668, allocations: 12 kB / 227 MB, free: 10.96 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008173/0.005485, allocations: 0.8008 MB / 227.8 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.006, allocations: 393.8 kB / 228.2 MB, free: 9.773 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.00652, allocations: 0.5368 MB / 228.7 MB, free: 9.234 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005453/0.007066, allocations: 0.5015 MB / 229.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.007424, allocations: 352.1 kB / 229.6 MB, free: 8.383 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.007699, allocations: 331.2 kB / 229.9 MB, free: 8.059 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.007896, allocations: 219.4 kB / 230.1 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.227e-05/0.007938, allocations: 44 kB / 230.2 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.008195, allocations: 207.7 kB / 230.4 MB, free: 7.598 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.008244, allocations: 83.69 kB / 230.4 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.008341, allocations: 131.8 kB / 230.6 MB, free: 7.387 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.00876, allocations: 490.2 kB / 231 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.438e-05/0.008774, allocations: 4 kB / 231 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.008775, allocations: 0 / 231 MB, free: 6.902 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.008789, allocations: 0 / 231 MB, free: 6.902 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001234/0.01002, allocations: 1.039 MB / 232.1 MB, free: 5.82 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.584e-05/0.01005, allocations: 12.03 kB / 232.1 MB, free: 5.809 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.01214, allocations: 0.8279 MB / 232.9 MB, free: 4.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.01235, allocations: 177.2 kB / 233.1 MB, free: 4.781 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.01238, allocations: 45.69 kB / 233.1 MB, free: 4.734 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.01243, allocations: 56.38 kB / 233.2 MB, free: 4.68 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.0128, allocations: 413.3 kB / 233.6 MB, free: 4.262 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.01282, allocations: 192 / 233.6 MB, free: 4.262 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.01285, allocations: 27.94 kB / 233.6 MB, free: 4.234 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.01286, allocations: 20 kB / 233.7 MB, free: 4.215 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.01313, allocations: 258.2 kB / 233.9 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.0145, allocations: 1.264 MB / 235.2 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.01523, allocations: 0.6043 MB / 235.8 MB, free: 2.023 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.01531, allocations: 94.31 kB / 235.9 MB, free: 1.93 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.01559, allocations: 20.48 kB / 235.9 MB, free: 1.906 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.01561, allocations: 43 kB / 235.9 MB, free: 1.855 MB / 234.7 MB Notification: Performance of pre-optimization done (n=49): time 1.523e-06/0.01561, allocations: 0 / 235.9 MB, free: 1.855 MB / 234.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006329/0.01624, allocations: 426.6 kB / 236.3 MB, free: 1.434 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.01626, allocations: 63.84 kB / 236.4 MB, free: 1.359 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.01636, allocations: 179.3 kB / 236.6 MB, free: 1.172 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.01637, allocations: 33.7 kB / 236.6 MB, free: 1.133 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.01646, allocations: 248.7 kB / 236.9 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.01653, allocations: 174.5 kB / 237 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.01662, allocations: 98.27 kB / 237.1 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.01669, allocations: 342.7 kB / 237.5 MB, free: 276 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.01675, allocations: 57.28 kB / 237.5 MB, free: 220 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.01687, allocations: 181.5 kB / 237.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.01707, allocations: 277.6 kB / 238 MB, free: 15.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01707, allocations: 4 kB / 238 MB, free: 15.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003154/0.01738, allocations: 335.1 kB / 238.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.0174, allocations: 11.98 kB / 238.3 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.0174, allocations: 7.938 kB / 238.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.01762, allocations: 84.98 kB / 238.4 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.01783, allocations: 115.8 kB / 238.5 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009358/0.01877, allocations: 1.598 MB / 240.1 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.01888, allocations: 51.62 kB / 240.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.0189, allocations: 19.98 kB / 240.2 MB, free: 13.37 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.142e-05/0.01899, allocations: 137.7 kB / 240.3 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.01903, allocations: 35.92 kB / 240.3 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.01937, allocations: 330.9 kB / 240.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01937, allocations: 4 kB / 240.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.01938, allocations: 8 kB / 240.7 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.01938, allocations: 3.984 kB / 240.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.01995, allocations: 0.6222 MB / 241.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01995, allocations: 4 kB / 241.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.02012, allocations: 75.91 kB / 241.4 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.02014, allocations: 39.67 kB / 241.4 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.0203, allocations: 80.8 kB / 241.5 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.02032, allocations: 15.94 kB / 241.5 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.02134, allocations: 1.579 MB / 243.1 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.02134, allocations: 96 / 243.1 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.02171, allocations: 471.4 kB / 243.6 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.02173, allocations: 8 kB / 243.6 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.02182, allocations: 12 kB / 243.6 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.02187, allocations: 36.42 kB / 243.6 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.02188, allocations: 12 kB / 243.6 MB, free: 9.766 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.293e-05/0.02192, allocations: 49.06 kB / 243.7 MB, free: 9.715 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02192, allocations: 0 / 243.7 MB, free: 9.715 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000303/0.02222, allocations: 151.7 kB / 243.8 MB, free: 9.566 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_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 (44): * Single equations (assignments): 43 * Array equations: 0 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000157/0.02238, allocations: 128.3 kB / 243.9 MB, free: 9.434 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.02274, allocations: 417.6 kB / 244.4 MB, free: 9.016 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/0.02275, allocations: 11.98 kB / 244.4 MB, free: 9.004 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.02295, allocations: 295.9 kB / 244.7 MB, free: 8.695 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.02313, allocations: 55.98 kB / 244.7 MB, free: 8.641 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.02699, allocations: 0.7859 MB / 245.5 MB, free: 7.824 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.294e-05/0.02705, allocations: 118.6 kB / 245.6 MB, free: 7.691 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.02717, allocations: 50.95 kB / 245.7 MB, free: 7.645 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.02728, allocations: 99.34 kB / 245.8 MB, free: 7.547 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02728, allocations: 0 / 245.8 MB, free: 7.547 MB / 250.7 MB Notification: Performance of Templates: time 0.006546/0.03382, allocations: 4.742 MB / 250.5 MB, free: 2.82 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.712183919735253]