Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 47.92 kB / 371.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2326, allocations: 52.18 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004589/0.2372, allocations: 2.935 MB / 426.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.2386, allocations: 0.6699 MB / 427.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.2388, allocations: 8 kB / 427.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.2391, allocations: 63.36 kB / 427.6 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.2393, allocations: 87.2 kB / 427.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.2397, allocations: 95.88 kB / 427.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.2402, allocations: 378.4 kB / 428.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.2404, allocations: 117.7 kB / 428.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.2407, allocations: 147.5 kB / 428.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.241, allocations: 155.3 kB / 428.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.241, allocations: 28 kB / 428.6 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.363e-05/0.2411, allocations: 32 kB / 428.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.2412, allocations: 71.77 kB / 428.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.2413, allocations: 171.2 kB / 428.8 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.2418, allocations: 387.6 kB / 429.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2418, allocations: 0 / 429.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2418, allocations: 0 / 429.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.2418, allocations: 7.938 kB / 429.2 MB, free: 9.352 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001045/0.2429, allocations: 0.5325 MB / 429.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2429, allocations: 16.03 kB / 429.8 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.243, allocations: 36.7 kB / 429.8 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.2434, allocations: 206 kB / 430 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.2434, allocations: 21.03 kB / 430 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.2435, allocations: 36.33 kB / 430 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.244, allocations: 274.4 kB / 430.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2441, allocations: 0 / 430.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.2441, allocations: 12 kB / 430.3 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.2441, allocations: 12 kB / 430.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.2446, allocations: 206.4 kB / 430.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.2462, allocations: 0.9291 MB / 431.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.2465, allocations: 150.6 kB / 431.6 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.2467, allocations: 80.81 kB / 431.7 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.2467, allocations: 4 kB / 431.7 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.2468, allocations: 34.5 kB / 431.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.2468, allocations: 0 / 431.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.00059/0.2474, allocations: 205.7 kB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.2474, allocations: 59.39 kB / 432 MB, free: 6.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.2477, allocations: 211 kB / 432.2 MB, free: 6.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.2477, allocations: 29.7 kB / 432.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.2478, allocations: 196.3 kB / 432.4 MB, free: 5.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.2479, allocations: 67.42 kB / 432.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/0.248, allocations: 49.7 kB / 432.5 MB, free: 5.828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2481, allocations: 326.8 kB / 432.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.2483, allocations: 63.95 kB / 432.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.2485, allocations: 125.8 kB / 433 MB, free: 5.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.2489, allocations: 181.8 kB / 433.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2489, allocations: 4 kB / 433.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005059/0.2494, allocations: 245.2 kB / 433.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.2494, allocations: 8 kB / 433.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.2495, allocations: 8.125 kB / 433.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.2495, allocations: 4 kB / 433.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.2498, allocations: 63.91 kB / 433.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.2498, allocations: 11.92 kB / 433.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.2499, allocations: 23.84 kB / 433.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.25, allocations: 4 kB / 433.6 MB, free: 4.723 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.2501, allocations: 153.7 kB / 433.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.2502, allocations: 19.86 kB / 433.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004608/0.2506, allocations: 183.4 kB / 433.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.2506, allocations: 4 kB / 433.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2506, allocations: 0 / 433.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.2506, allocations: 3.984 kB / 433.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.2511, allocations: 292.5 kB / 434.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2511, allocations: 0 / 434.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.2514, allocations: 51.91 kB / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.2514, allocations: 3.984 kB / 434.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2514, allocations: 8 kB / 434.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2514, allocations: 4 kB / 434.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2514, allocations: 3.938 kB / 434.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.252, allocations: 353.7 kB / 434.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.252, allocations: 19.91 kB / 434.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.2521, allocations: 4 kB / 434.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.2522, allocations: 19.98 kB / 434.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.2523, allocations: 15.97 kB / 434.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.2523, allocations: 4 kB / 434.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.2525, allocations: 144.6 kB / 434.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2525, allocations: 0 / 434.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.2528, allocations: 79.78 kB / 434.9 MB, free: 3.305 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001407/0.253, allocations: 107.2 kB / 435 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.2534, allocations: 152.2 kB / 435.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2534, allocations: 0 / 435.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.2536, allocations: 67.91 kB / 435.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.2539, allocations: 40.52 kB / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.2555, allocations: 0.8525 MB / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.2559, allocations: 0.7672 MB / 436.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.256, allocations: 31.38 kB / 436.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.256, allocations: 0 / 436.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of Templates: time 0.006015/0.262, allocations: 2.917 MB / 439.8 MB, free: 14.32 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.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: 7.179706885013729]