Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.002062/0.002062, allocations: 84.34 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.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.00254/0.00254, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.586e-05, allocations: 6.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005178/0.005203, allocations: 3.399 MB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.007908, allocations: 1.401 MB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.00807, allocations: 8 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.009978, allocations: 0.7386 MB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009419/0.01092, allocations: 385.8 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.01204, allocations: 0.5137 MB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000572/0.01261, allocations: 481.7 kB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.01323, allocations: 350 kB / 279.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004657/0.01369, allocations: 299.3 kB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.01401, allocations: 207.4 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.011e-05/0.01409, allocations: 48 kB / 280.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.01449, allocations: 199.7 kB / 280.3 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.0146, allocations: 115.5 kB / 280.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.0148, allocations: 155.6 kB / 280.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009421/0.01574, allocations: 0.7086 MB / 281.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01574, allocations: 0 / 281.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01574, allocations: 0 / 281.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.01575, allocations: 0 / 281.3 MB, free: 8.816 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.002099/0.01785, allocations: 0.8368 MB / 282.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.01789, allocations: 12.02 kB / 282.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/0.02135, allocations: 0.5781 MB / 282.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.02183, allocations: 249 kB / 282.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.02188, allocations: 45.69 kB / 283 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.02198, allocations: 48.38 kB / 283 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.02305, allocations: 0.5436 MB / 283.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.02308, allocations: 192 / 283.6 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-05/0.02314, allocations: 28.12 kB / 283.6 MB, free: 6.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.02315, allocations: 12 kB / 283.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.02429, allocations: 0.5673 MB / 284.2 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.02725, allocations: 1.517 MB / 285.7 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.02887, allocations: 0.5675 MB / 286.3 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.02926, allocations: 186.2 kB / 286.5 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-05/0.02935, allocations: 28.48 kB / 286.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.02938, allocations: 35.06 kB / 286.5 MB, free: 3.422 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.794e-06/0.02938, allocations: 0 / 286.5 MB, free: 3.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.002102/0.03148, allocations: 0.7356 MB / 287.3 MB, free: 2.676 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.03153, allocations: 55.91 kB / 287.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.03172, allocations: 172.9 kB / 287.5 MB, free: 2.434 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.03176, allocations: 37.7 kB / 287.5 MB, free: 2.391 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.03194, allocations: 228.9 kB / 287.7 MB, free: 2.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.0321, allocations: 166.6 kB / 287.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.03225, allocations: 86.14 kB / 288 MB, free: 1.906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.03244, allocations: 334.8 kB / 288.3 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.03277, allocations: 148.9 kB / 288.5 MB, free: 1.426 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.03318, allocations: 224.3 kB / 288.7 MB, free: 1.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000761/0.03394, allocations: 404.7 kB / 289.1 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.03394, allocations: 4 kB / 289.1 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001165/0.03511, allocations: 0.5565 MB / 289.6 MB, free: 200 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.03512, allocations: 4 kB / 289.6 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.03513, allocations: 0 / 289.6 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004832/0.03561, allocations: 112.9 kB / 289.7 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.09812/0.1337, allocations: 90.75 kB / 289.8 MB, free: 28.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.1355, allocations: 1.9 MB / 291.7 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.1358, allocations: 47.98 kB / 291.8 MB, free: 26.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.1358, allocations: 20.22 kB / 291.8 MB, free: 26.77 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.0001622/0.136, allocations: 165.7 kB / 292 MB, free: 26.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.1361, allocations: 42.28 kB / 292 MB, free: 26.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.1371, allocations: 0.5391 MB / 292.5 MB, free: 26.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1371, allocations: 9.875 kB / 292.6 MB, free: 26.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1371, allocations: 3.188 kB / 292.6 MB, free: 26.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1372, allocations: 3.75 kB / 292.6 MB, free: 26.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.1386, allocations: 0.9667 MB / 293.5 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1386, allocations: 4.469 kB / 293.5 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.1389, allocations: 78.41 kB / 293.6 MB, free: 26.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003844/0.1393, allocations: 108.2 kB / 293.7 MB, free: 25.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.1393, allocations: 16.94 kB / 293.7 MB, free: 25.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.1408, allocations: 1.905 MB / 295.6 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1408, allocations: 1.062 kB / 295.6 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.1421, allocations: 0.8115 MB / 296.4 MB, free: 23.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.1421, allocations: 32.91 kB / 296.5 MB, free: 23.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.1421, allocations: 10.92 kB / 296.5 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.1424, allocations: 19.2 kB / 296.5 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.1425, allocations: 36.39 kB / 296.5 MB, free: 23.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.1425, allocations: 14.39 kB / 296.6 MB, free: 23.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.887e-05/0.1426, allocations: 125 kB / 296.7 MB, free: 23.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1426, allocations: 0 / 296.7 MB, free: 23.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005884/0.1432, allocations: 152.6 kB / 296.8 MB, free: 23.78 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.0002023/0.1434, allocations: 143.8 kB / 297 MB, free: 23.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009477/0.1443, allocations: 0.5435 MB / 297.5 MB, free: 23.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1443, allocations: 5.75 kB / 297.5 MB, free: 23.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005078/0.1448, allocations: 356.4 kB / 297.9 MB, free: 23.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1452, allocations: 36.5 kB / 297.9 MB, free: 23.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1463, allocations: 0.7702 MB / 298.7 MB, free: 22.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.1464, allocations: 206.6 kB / 298.9 MB, free: 22.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.1466, allocations: 45.44 kB / 298.9 MB, free: 22.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.1467, allocations: 36.45 kB / 299 MB, free: 22.65 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1467, allocations: 1.438 kB / 299 MB, free: 22.65 MB / 266.7 MB Notification: Performance of Templates: time 0.008901/0.1556, allocations: 4.34 MB / 303.3 MB, free: 21.87 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.495867314981297]