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.00132/0.00132, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 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.001407/0.001407, allocations: 156.9 kB / 23.95 MB, free: 4.148 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.433/1.433, allocations: 177 MB / 204.1 MB, free: 9.156 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.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.282e-06/1.282e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.267e-05, allocations: 4.672 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005244/0.005267, allocations: 3.395 MB / 328.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.008231, allocations: 1.399 MB / 329.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003616/0.008592, allocations: 8.812 kB / 329.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.01067, allocations: 0.7409 MB / 330.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.01183, allocations: 388.9 kB / 330.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.01299, allocations: 0.5236 MB / 331.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.01363, allocations: 474.7 kB / 331.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006465/0.01428, allocations: 350.2 kB / 332.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.01484, allocations: 301.7 kB / 332.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.01519, allocations: 203.2 kB / 332.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.869e-05/0.01528, allocations: 41.62 kB / 332.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.01574, allocations: 206.6 kB / 333 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.01585, allocations: 109 kB / 333.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.01605, allocations: 158 kB / 333.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009672/0.01702, allocations: 0.7051 MB / 334 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.01702, allocations: 0 / 334 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01702, allocations: 1.25 kB / 334 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.01703, allocations: 0 / 334 MB, free: 10.71 MB / 302.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.002328/0.01936, allocations: 0.8381 MB / 334.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.0194, allocations: 16.7 kB / 334.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003716/0.02311, allocations: 478.4 kB / 335.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.02361, allocations: 246.2 kB / 335.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.02366, allocations: 39.19 kB / 335.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/0.02376, allocations: 55.06 kB / 335.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.02479, allocations: 0.5397 MB / 336.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.02481, allocations: 192 / 336.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.02488, allocations: 29.06 kB / 336.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.02489, allocations: 12.47 kB / 336.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.026, allocations: 0.5601 MB / 336.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.02892, allocations: 1.502 MB / 338.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.03061, allocations: 0.5704 MB / 338.8 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.03099, allocations: 190.2 kB / 339 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.414e-05/0.03107, allocations: 16.48 kB / 339 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.03111, allocations: 39.06 kB / 339.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.883e-06/0.03111, allocations: 0 / 339.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002194/0.03331, allocations: 0.7239 MB / 339.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.03335, allocations: 55.91 kB / 339.9 MB, free: 6.047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.03354, allocations: 174.2 kB / 340 MB, free: 5.867 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.03358, allocations: 33.7 kB / 340.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.03374, allocations: 224.9 kB / 340.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.03388, allocations: 170.6 kB / 340.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.03403, allocations: 86.14 kB / 340.5 MB, free: 5.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.03419, allocations: 334.8 kB / 340.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.03456, allocations: 148.9 kB / 341 MB, free: 4.863 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.03498, allocations: 224.3 kB / 341.2 MB, free: 4.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.03575, allocations: 404.7 kB / 341.6 MB, free: 4.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.03576, allocations: 4 kB / 341.6 MB, free: 4.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001235/0.03699, allocations: 0.5372 MB / 342.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.03701, allocations: 4 kB / 342.2 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.03702, allocations: 4 kB / 342.2 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/0.03744, allocations: 84.8 kB / 342.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.03787, allocations: 103.8 kB / 342.4 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.04035, allocations: 1.888 MB / 344.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.04065, allocations: 47.73 kB / 344.3 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.04069, allocations: 23.98 kB / 344.3 MB, free: 1.398 MB / 302.1 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.000234/0.04093, allocations: 165.7 kB / 344.5 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/0.04101, allocations: 27.8 kB / 344.5 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.04229, allocations: 0.5479 MB / 345 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.04229, allocations: 4 kB / 345 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.0423, allocations: 0 / 345 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.04231, allocations: 7.984 kB / 345.1 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.04419, allocations: 0.9644 MB / 346 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.04419, allocations: 0 / 346 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.04456, allocations: 79.89 kB / 346.1 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/0.04487, allocations: 92.73 kB / 346.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.0449, allocations: 12 kB / 346.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.04709, allocations: 1.888 MB / 348.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.04709, allocations: 3.984 kB / 348.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.04861, allocations: 0.7952 MB / 348.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.04867, allocations: 39.89 kB / 348.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.04872, allocations: 8 kB / 348.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.04897, allocations: 19.98 kB / 349 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.04907, allocations: 36.42 kB / 349 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.0491, allocations: 16 kB / 349 MB, free: 12.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.04922, allocations: 128.7 kB / 349.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04922, allocations: 0 / 349.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006505/0.04987, allocations: 151.6 kB / 349.3 MB, free: 12.24 MB / 318.1 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.0002851/0.05016, allocations: 139.1 kB / 349.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.05132, allocations: 0.5474 MB / 350 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.05133, allocations: 3.938 kB / 350 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006245/0.05195, allocations: 361.8 kB / 350.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.05229, allocations: 24 kB / 350.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.05368, allocations: 0.7617 MB / 351.1 MB, free: 10.35 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.05392, allocations: 204.8 kB / 351.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.05409, allocations: 42.95 kB / 351.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.05419, allocations: 36.48 kB / 351.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.05419, allocations: 0 / 351.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of Templates: time 0.01025/0.06444, allocations: 4.3 MB / 355.7 MB, free: 5.797 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.39618257433176]