Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001479/0.001479, allocations: 91.61 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 160.5 kB / 24.55 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.006/1.006, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.093e-05, allocations: 2.312 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005692/0.005723, allocations: 3.68 MB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.008554, allocations: 1.437 MB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003475/0.008901, allocations: 8 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.01059, allocations: 0.801 MB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.0116, allocations: 393.8 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009802/0.01258, allocations: 0.5215 MB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005471/0.01313, allocations: 477.7 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006131/0.01374, allocations: 358 kB / 280.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.01421, allocations: 307.2 kB / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.01451, allocations: 203.5 kB / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.01458, allocations: 40 kB / 281.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.01506, allocations: 207.7 kB / 281.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.043e-05/0.01514, allocations: 99.59 kB / 281.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.0153, allocations: 163.6 kB / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.01604, allocations: 0.506 MB / 282.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01604, allocations: 4 kB / 282.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01604, allocations: 0 / 282.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.01605, allocations: 0 / 282.1 MB, free: 8.273 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.001831/0.01788, allocations: 0.9445 MB / 283 MB, free: 7.289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.01792, allocations: 11.98 kB / 283 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/0.02096, allocations: 0.5819 MB / 283.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.02138, allocations: 255.9 kB / 283.9 MB, free: 6.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.02142, allocations: 41.69 kB / 283.9 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.02152, allocations: 60.36 kB / 284 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008629/0.02239, allocations: 421.4 kB / 284.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.02241, allocations: 4.188 kB / 284.4 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/0.02247, allocations: 24.12 kB / 284.4 MB, free: 5.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.02249, allocations: 15.94 kB / 284.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007419/0.02323, allocations: 335.6 kB / 284.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.0259, allocations: 1.504 MB / 286.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.02722, allocations: 0.5934 MB / 286.8 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.02745, allocations: 133 kB / 287 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.39e-05/0.02755, allocations: 24.48 kB / 287 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.02758, allocations: 45.89 kB / 287 MB, free: 3.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 3.045e-06/0.02759, allocations: 0 / 287 MB, free: 3.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001433/0.02902, allocations: 0.5509 MB / 287.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.02905, allocations: 55.91 kB / 287.6 MB, free: 2.504 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.02924, allocations: 229.7 kB / 287.9 MB, free: 2.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.02927, allocations: 41.7 kB / 287.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.02941, allocations: 275.7 kB / 288.2 MB, free: 1.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.02954, allocations: 162.6 kB / 288.3 MB, free: 1.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.02968, allocations: 91.8 kB / 288.4 MB, free: 1.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.02983, allocations: 0.5117 MB / 288.9 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.03003, allocations: 80.95 kB / 289 MB, free: 1.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.03029, allocations: 194.9 kB / 289.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.03075, allocations: 299.3 kB / 289.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.03075, allocations: 0 / 289.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007984/0.03155, allocations: 444.9 kB / 289.9 MB, free: 88 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.03157, allocations: 8 kB / 289.9 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.03158, allocations: 0 / 289.9 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1168/0.1483, allocations: 93.77 kB / 290 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.1486, allocations: 86 kB / 290.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.1499, allocations: 2.328 MB / 292.4 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.15, allocations: 36.69 kB / 292.5 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.15, allocations: 18.72 kB / 292.5 MB, free: 19.34 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.0001246/0.1502, allocations: 180.3 kB / 292.7 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.1502, allocations: 42.44 kB / 292.7 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006247/0.1509, allocations: 435 kB / 293.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1509, allocations: 4.969 kB / 293.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1509, allocations: 3.094 kB / 293.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1509, allocations: 2.203 kB / 293.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009501/0.1518, allocations: 0.8941 MB / 294 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1518, allocations: 0 / 294 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.152, allocations: 73.03 kB / 294.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/0.1522, allocations: 94.39 kB / 294.2 MB, free: 18.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.1523, allocations: 15.58 kB / 294.2 MB, free: 18.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.1533, allocations: 2.328 MB / 296.5 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1533, allocations: 1.172 kB / 296.5 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.154, allocations: 0.6323 MB / 297.2 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.1541, allocations: 30.89 kB / 297.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1541, allocations: 7.875 kB / 297.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1542, allocations: 17.14 kB / 297.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.1543, allocations: 39.11 kB / 297.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.1543, allocations: 11.94 kB / 297.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.912e-05/0.1544, allocations: 161.7 kB / 297.4 MB, free: 16.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1544, allocations: 0 / 297.4 MB, free: 16.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004932/0.1549, allocations: 146.5 kB / 297.6 MB, free: 16.44 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.0002231/0.1551, allocations: 147.6 kB / 297.7 MB, free: 16.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006826/0.1558, allocations: 0.5103 MB / 298.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1558, allocations: 0 / 298.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.1561, allocations: 379.9 kB / 298.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.1563, allocations: 40.5 kB / 298.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.1576, allocations: 0.7296 MB / 299.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.815e-05/0.1577, allocations: 109.8 kB / 299.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1578, allocations: 47.2 kB / 299.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.1579, allocations: 37.38 kB / 299.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1579, allocations: 3.609 kB / 299.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Templates: time 0.007755/0.1657, allocations: 4.38 MB / 304 MB, free: 15.08 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.9830571869388223]