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.001905/0.001905, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002022/0.002022, allocations: 165.3 kB / 24.28 MB, free: 152 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.559/1.559, allocations: 177.2 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.123e-06/1.123e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.267e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005612/0.005634, allocations: 3.63 MB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.008432, allocations: 1.429 MB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.008596, allocations: 8 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.01055, allocations: 0.7932 MB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009191/0.01147, allocations: 393.8 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.01262, allocations: 0.5293 MB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005458/0.01316, allocations: 469.7 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006007/0.01377, allocations: 358 kB / 279.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004544/0.01422, allocations: 299.3 kB / 280.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.01455, allocations: 211.4 kB / 280.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.01462, allocations: 40 kB / 280.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.01501, allocations: 207.7 kB / 280.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.01513, allocations: 119.5 kB / 280.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.01531, allocations: 151.6 kB / 280.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009767/0.01629, allocations: 0.7085 MB / 281.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.0163, allocations: 4 kB / 281.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.0163, allocations: 0 / 281.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.0163, allocations: 0 / 281.6 MB, free: 8.477 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.002219/0.01852, allocations: 0.9677 MB / 282.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.01856, allocations: 8.031 kB / 282.6 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.0221, allocations: 0.5742 MB / 283.2 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.02252, allocations: 263.8 kB / 283.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/0.02257, allocations: 49.69 kB / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.645e-05/0.02266, allocations: 56.36 kB / 283.5 MB, free: 6.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.02374, allocations: 0.5163 MB / 284 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.02377, allocations: 4.188 kB / 284 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.02383, allocations: 28.12 kB / 284.1 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.02384, allocations: 12 kB / 284.1 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.02492, allocations: 0.54 MB / 284.6 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.02808, allocations: 1.697 MB / 286.3 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.02973, allocations: 0.5836 MB / 286.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.03008, allocations: 185.1 kB / 287.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.775e-05/0.03017, allocations: 24.48 kB / 287.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.03021, allocations: 45.88 kB / 287.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.804e-06/0.03022, allocations: 0 / 287.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.002014/0.03223, allocations: 0.7149 MB / 287.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.03228, allocations: 55.91 kB / 287.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.03253, allocations: 252.4 kB / 288.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.03257, allocations: 33.7 kB / 288.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.03278, allocations: 275.7 kB / 288.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.03294, allocations: 174.6 kB / 288.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.03311, allocations: 103.8 kB / 288.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000285/0.0334, allocations: 0.5118 MB / 289.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.0337, allocations: 152.9 kB / 289.4 MB, free: 452 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.03409, allocations: 242.9 kB / 289.6 MB, free: 172 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.09915/0.1332, allocations: 428.8 kB / 290.1 MB, free: 27.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.1332, allocations: 0 / 290.1 MB, free: 27.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001028/0.1343, allocations: 0.5486 MB / 290.6 MB, free: 27.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1343, allocations: 7.656 kB / 290.6 MB, free: 27.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1343, allocations: 2.25 kB / 290.6 MB, free: 27.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004844/0.1348, allocations: 116.6 kB / 290.7 MB, free: 27.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.1351, allocations: 89.5 kB / 290.8 MB, free: 27.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.1369, allocations: 2.537 MB / 293.4 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.1372, allocations: 43.78 kB / 293.4 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.1372, allocations: 20.3 kB / 293.4 MB, free: 25.49 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.0001877/0.1374, allocations: 211.5 kB / 293.6 MB, free: 25.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.231e-05/0.1375, allocations: 43.56 kB / 293.7 MB, free: 25.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.1386, allocations: 0.5304 MB / 294.2 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1386, allocations: 9.125 kB / 294.2 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1386, allocations: 2.844 kB / 294.2 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1386, allocations: 3 kB / 294.2 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.1401, allocations: 1.086 MB / 295.3 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1401, allocations: 0 / 295.3 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.1404, allocations: 73.75 kB / 295.4 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003653/0.1408, allocations: 114.3 kB / 295.5 MB, free: 24.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.1408, allocations: 16.59 kB / 295.5 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.1424, allocations: 2.533 MB / 298 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1424, allocations: 0 / 298 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.1436, allocations: 0.8318 MB / 298.9 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.1436, allocations: 35.12 kB / 298.9 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.1436, allocations: 6.188 kB / 298.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.1438, allocations: 16.25 kB / 298.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.1439, allocations: 44.33 kB / 299 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.144, allocations: 15.23 kB / 299 MB, free: 21.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.865e-05/0.1441, allocations: 172.7 kB / 299.2 MB, free: 21.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1441, allocations: 3.188 kB / 299.2 MB, free: 21.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005521/0.1446, allocations: 149.6 kB / 299.3 MB, free: 21.57 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.0002161/0.1448, allocations: 139.9 kB / 299.4 MB, free: 21.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009994/0.1458, allocations: 0.6255 MB / 300.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1458, allocations: 0 / 300.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.1464, allocations: 434.9 kB / 300.5 MB, free: 20.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1467, allocations: 31.73 kB / 300.5 MB, free: 20.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1479, allocations: 0.7867 MB / 301.3 MB, free: 20.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.1481, allocations: 203.2 kB / 301.5 MB, free: 20.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.1483, allocations: 46.94 kB / 301.6 MB, free: 20.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/0.1483, allocations: 35.91 kB / 301.6 MB, free: 20.32 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1484, allocations: 0 / 301.6 MB, free: 20.32 MB / 266.7 MB Notification: Performance of Templates: time 0.009275/0.1576, allocations: 4.39 MB / 306 MB, free: 19.38 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] 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.643159476108849]