Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001396/0.001396, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001445/0.001445, allocations: 149.5 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 173.4 MB / 200.8 MB, free: 9.289 MB / 186.7 MB " [Timeout remaining time 178] 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.786e-05/3.969e-05, allocations: 6.25 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.006089/0.006128, allocations: 3.397 MB / 270.7 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.00929, allocations: 1.335 MB / 272 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004238/0.009714, allocations: 8 kB / 272.1 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.01199, allocations: 0.7386 MB / 272.8 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.0135, allocations: 0.5245 MB / 273.3 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009843/0.01449, allocations: 400.6 kB / 273.7 MB, free: 288 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007869/0.01527, allocations: 481.8 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008236/0.0161, allocations: 354 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007182/0.01681, allocations: 291.3 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.01725, allocations: 203.4 kB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.01739, allocations: 40 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.0179, allocations: 199.6 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.01802, allocations: 107.6 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.01827, allocations: 159.6 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.01968, allocations: 0.7008 MB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.01969, allocations: 4 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01969, allocations: 3.938 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.01971, allocations: 0 / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002575/0.02229, allocations: 0.8252 MB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.02233, allocations: 12.03 kB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/0.02607, allocations: 0.6053 MB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.02664, allocations: 253.1 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.02669, allocations: 41.69 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.02682, allocations: 56.33 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.02803, allocations: 0.5319 MB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.02806, allocations: 8.172 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.02813, allocations: 24.12 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.02815, allocations: 12 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.02938, allocations: 0.5595 MB / 279.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.03255, allocations: 1.509 MB / 280.6 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.03424, allocations: 0.5674 MB / 281.2 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.03465, allocations: 189.2 kB / 281.4 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-05/0.03472, allocations: 16.44 kB / 281.4 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.03476, allocations: 35.06 kB / 281.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.615e-06/0.03476, allocations: 0 / 281.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.002199/0.03696, allocations: 0.7279 MB / 282.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.03702, allocations: 63.89 kB / 282.2 MB, free: 7.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.03728, allocations: 170.2 kB / 282.4 MB, free: 7.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.03733, allocations: 33.7 kB / 282.4 MB, free: 7.355 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.03751, allocations: 224.9 kB / 282.7 MB, free: 7.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.03768, allocations: 170.4 kB / 282.8 MB, free: 6.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.03784, allocations: 90.19 kB / 282.9 MB, free: 6.867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004375/0.03828, allocations: 334.8 kB / 283.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.03862, allocations: 148.9 kB / 283.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.03903, allocations: 224.3 kB / 283.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007684/0.0398, allocations: 400.7 kB / 284 MB, free: 5.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.0398, allocations: 0 / 284 MB, free: 5.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001213/0.04102, allocations: 0.5567 MB / 284.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.04104, allocations: 8 kB / 284.6 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.04105, allocations: 0 / 284.6 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/0.04157, allocations: 112.7 kB / 284.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.04198, allocations: 95.81 kB / 284.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.04448, allocations: 1.903 MB / 286.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.04476, allocations: 43.66 kB / 286.7 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.0448, allocations: 16 kB / 286.7 MB, free: 2.879 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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 0.0002428/0.04504, allocations: 165.7 kB / 286.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-05/0.04514, allocations: 43.8 kB / 286.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.04641, allocations: 0.5442 MB / 287.5 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.04642, allocations: 4 kB / 287.5 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.04642, allocations: 4 kB / 287.5 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.04643, allocations: 3.984 kB / 287.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.04827, allocations: 0.9683 MB / 288.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.04828, allocations: 0 / 288.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.04863, allocations: 75.91 kB / 288.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004324/0.04907, allocations: 112.7 kB / 288.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.0491, allocations: 8 kB / 288.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1164/0.1655, allocations: 1.899 MB / 290.5 MB, free: 31.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1655, allocations: 2.812 kB / 290.5 MB, free: 31.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.167, allocations: 0.813 MB / 291.4 MB, free: 30.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.1671, allocations: 30.34 kB / 291.4 MB, free: 30.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.1672, allocations: 11.81 kB / 291.4 MB, free: 30.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.1674, allocations: 18.73 kB / 291.4 MB, free: 30.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.1675, allocations: 40.64 kB / 291.5 MB, free: 30.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.1676, allocations: 14.89 kB / 291.5 MB, free: 30.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1677, allocations: 122.5 kB / 291.6 MB, free: 30.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1677, allocations: 0.6875 kB / 291.6 MB, free: 30.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006567/0.1683, allocations: 148.7 kB / 291.7 MB, free: 30.88 MB / 266.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 (42): * Single equations (assignments): 41 * 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.0002451/0.1686, allocations: 140 kB / 291.9 MB, free: 30.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1697, allocations: 0.54 MB / 292.4 MB, free: 30.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1697, allocations: 0 / 292.4 MB, free: 30.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005418/0.1702, allocations: 357.6 kB / 292.8 MB, free: 30.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1706, allocations: 35.3 kB / 292.8 MB, free: 30.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.172, allocations: 0.7707 MB / 293.6 MB, free: 30 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.1722, allocations: 206.9 kB / 293.8 MB, free: 29.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.1724, allocations: 43.77 kB / 293.8 MB, free: 29.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.1725, allocations: 34.58 kB / 293.8 MB, free: 29.91 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1725, allocations: 0 / 293.8 MB, free: 29.91 MB / 266.7 MB Notification: Performance of Templates: time 0.01009/0.1826, allocations: 4.209 MB / 298.1 MB, free: 29.46 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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: 4.435718178981915]