Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001436/0.001436, allocations: 100.1 kB / 20.96 MB, free: 472 kB / 14.72 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.001534/0.001534, allocations: 168.2 kB / 24.27 MB, free: 3.512 MB / 14.72 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.524/1.524, allocations: 177 MB / 204.4 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 272.2 MB, free: 5.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.447e-05, allocations: 6.25 kB / 272.2 MB, free: 5.242 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005232/0.005266, allocations: 3.41 MB / 275.6 MB, free: 1.812 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.007947, allocations: 1.394 MB / 277 MB, free: 420 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.008207, allocations: 12 kB / 277 MB, free: 408 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.01019, allocations: 0.7425 MB / 277.8 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.01123, allocations: 389.8 kB / 278.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.01243, allocations: 0.5137 MB / 278.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006371/0.01307, allocations: 477.7 kB / 279.1 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007573/0.01382, allocations: 422.2 kB / 279.5 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.01436, allocations: 319.2 kB / 279.8 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.01471, allocations: 207.4 kB / 280 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.874e-05/0.0148, allocations: 44 kB / 280.1 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004349/0.01523, allocations: 211.7 kB / 280.3 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.01535, allocations: 103.6 kB / 280.4 MB, free: 13 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.01556, allocations: 167.6 kB / 280.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.01656, allocations: 0.7318 MB / 281.3 MB, free: 12.11 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01656, allocations: 0 / 281.3 MB, free: 12.11 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01657, allocations: 0 / 281.3 MB, free: 12.11 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.01658, allocations: 0 / 281.3 MB, free: 12.11 MB / 270.1 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.002338/0.01892, allocations: 0.8447 MB / 282.1 MB, free: 11.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.01895, allocations: 11.98 kB / 282.1 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004012/0.02296, allocations: 0.5781 MB / 282.7 MB, free: 10.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.02349, allocations: 256.8 kB / 283 MB, free: 10.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/0.02354, allocations: 45.69 kB / 283 MB, free: 10.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.907e-05/0.02364, allocations: 48.38 kB / 283.1 MB, free: 10.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.02473, allocations: 0.5514 MB / 283.6 MB, free: 9.711 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.02476, allocations: 4.188 kB / 283.6 MB, free: 9.707 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.02482, allocations: 28.12 kB / 283.6 MB, free: 9.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.02484, allocations: 12 kB / 283.7 MB, free: 9.668 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.026, allocations: 0.5751 MB / 284.2 MB, free: 9.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.0291, allocations: 1.53 MB / 285.8 MB, free: 7.5 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.03068, allocations: 0.5414 MB / 286.3 MB, free: 6.961 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/0.03121, allocations: 234.2 kB / 286.5 MB, free: 6.727 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.899e-05/0.0313, allocations: 20.48 kB / 286.6 MB, free: 6.707 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.03134, allocations: 43.06 kB / 286.6 MB, free: 6.656 MB / 270.1 MB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/0.03134, allocations: 0 / 286.6 MB, free: 6.656 MB / 270.1 MB Notification: Performance of matching and sorting (n=47): time 0.001947/0.03328, allocations: 0.6849 MB / 287.3 MB, free: 5.961 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.03333, allocations: 55.91 kB / 287.3 MB, free: 5.895 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.03352, allocations: 170.2 kB / 287.5 MB, free: 5.719 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.03357, allocations: 41.7 kB / 287.5 MB, free: 5.672 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.03376, allocations: 228.9 kB / 287.8 MB, free: 5.441 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.03391, allocations: 162.5 kB / 287.9 MB, free: 5.281 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.03406, allocations: 86.19 kB / 288 MB, free: 5.191 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.03424, allocations: 330.8 kB / 288.3 MB, free: 4.859 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.03458, allocations: 152.9 kB / 288.5 MB, free: 4.711 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.035, allocations: 238 kB / 288.7 MB, free: 4.449 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/0.03579, allocations: 417.9 kB / 289.1 MB, free: 4.008 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.03579, allocations: 0 / 289.1 MB, free: 4.008 MB / 270.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001199/0.03699, allocations: 0.5604 MB / 289.7 MB, free: 3.438 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.03701, allocations: 8 kB / 289.7 MB, free: 3.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.03701, allocations: 0 / 289.7 MB, free: 3.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/0.03752, allocations: 109 kB / 289.8 MB, free: 3.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.03794, allocations: 95.83 kB / 289.9 MB, free: 3.227 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.04, allocations: 1.644 MB / 291.5 MB, free: 1.484 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.04028, allocations: 47.66 kB / 291.6 MB, free: 1.438 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.04033, allocations: 23.94 kB / 291.6 MB, free: 1.414 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.04055, allocations: 173.7 kB / 291.8 MB, free: 1.234 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.04064, allocations: 35.86 kB / 291.8 MB, free: 1.199 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.04187, allocations: 0.5441 MB / 292.3 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.04188, allocations: 4 kB / 292.4 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.04188, allocations: 0 / 292.4 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.04189, allocations: 4 kB / 292.4 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.04374, allocations: 0.9816 MB / 293.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.04374, allocations: 0 / 293.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.04411, allocations: 79.89 kB / 293.4 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/0.04451, allocations: 96.77 kB / 293.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.04455, allocations: 19.98 kB / 293.5 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.04649, allocations: 1.64 MB / 295.2 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.04649, allocations: 0 / 295.2 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.04804, allocations: 0.813 MB / 296 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.04809, allocations: 31.78 kB / 296 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.04814, allocations: 12.06 kB / 296 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.0484, allocations: 27.98 kB / 296.1 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/0.04849, allocations: 36.42 kB / 296.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.04853, allocations: 19.98 kB / 296.1 MB, free: 12.71 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.04865, allocations: 123.2 kB / 296.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04865, allocations: 0 / 296.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005618/0.04921, allocations: 155.6 kB / 296.4 MB, free: 12.43 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002598/0.04947, allocations: 142.2 kB / 296.5 MB, free: 12.29 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.05062, allocations: 0.5389 MB / 297.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.05062, allocations: 0 / 297.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006634/0.05128, allocations: 365.8 kB / 297.4 MB, free: 11.37 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.05164, allocations: 39.92 kB / 297.5 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.05306, allocations: 0.7763 MB / 298.2 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.05329, allocations: 208.8 kB / 298.4 MB, free: 10.29 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.05348, allocations: 46.95 kB / 298.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.05358, allocations: 36.5 kB / 298.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of SimCode: time 5.81e-07/0.05358, allocations: 0 / 298.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of Templates: time 0.01034/0.06393, allocations: 4.285 MB / 302.8 MB, free: 5.961 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.390953864902258]