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.001768/0.001768, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001974/0.001974, allocations: 187.5 kB / 24.46 MB, free: 3.863 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.467/1.467, allocations: 225.7 MB / 253.3 MB, free: 12.85 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.001604/0.001604, allocations: 55.91 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2253, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004047/0.2293, allocations: 2.693 MB / 426.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2304, allocations: 0.6388 MB / 427.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.2306, allocations: 7.938 kB / 427.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.2308, allocations: 59.44 kB / 427.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.2309, allocations: 83.2 kB / 427.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.2312, allocations: 99.81 kB / 427.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.2316, allocations: 386.3 kB / 427.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.2318, allocations: 97.78 kB / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.232, allocations: 147.5 kB / 428 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.2322, allocations: 139.2 kB / 428.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.2322, allocations: 32 kB / 428.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.2323, allocations: 32 kB / 428.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.2324, allocations: 67.77 kB / 428.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.2325, allocations: 143.4 kB / 428.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.2329, allocations: 382.1 kB / 428.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2329, allocations: 0 / 428.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2329, allocations: 4 kB / 428.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2329, allocations: 0 / 428.8 MB, free: 9.469 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.0009364/0.2339, allocations: 0.5472 MB / 429.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2339, allocations: 8.031 kB / 429.4 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.169e-05/0.234, allocations: 44.7 kB / 429.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.2343, allocations: 202 kB / 429.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.2343, allocations: 21.03 kB / 429.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.2344, allocations: 36.33 kB / 429.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/0.235, allocations: 333.7 kB / 430 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.235, allocations: 0 / 430 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.235, allocations: 12 kB / 430 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.235, allocations: 8 kB / 430 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.2355, allocations: 210.5 kB / 430.2 MB, free: 8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.2369, allocations: 0.801 MB / 431 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.2372, allocations: 146.6 kB / 431.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.2374, allocations: 76.75 kB / 431.2 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.2374, allocations: 7.938 kB / 431.2 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2375, allocations: 38.56 kB / 431.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.2375, allocations: 0 / 431.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005535/0.238, allocations: 216.1 kB / 431.5 MB, free: 6.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.238, allocations: 59.39 kB / 431.5 MB, free: 6.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.2382, allocations: 187.2 kB / 431.7 MB, free: 6.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.2383, allocations: 25.7 kB / 431.7 MB, free: 6.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2384, allocations: 200.3 kB / 431.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/0.2385, allocations: 71.42 kB / 432 MB, free: 6.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.2385, allocations: 49.66 kB / 432.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2387, allocations: 334.8 kB / 432.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.2388, allocations: 59.97 kB / 432.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.2391, allocations: 118 kB / 432.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.2394, allocations: 181.8 kB / 432.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2394, allocations: 0 / 432.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004707/0.2399, allocations: 241.3 kB / 433 MB, free: 5.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2399, allocations: 8 kB / 433 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2399, allocations: 0 / 433 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2399, allocations: 4 kB / 433 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.2402, allocations: 67.89 kB / 433.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2402, allocations: 7.984 kB / 433.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.2404, allocations: 27.83 kB / 433.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.2404, allocations: 8 kB / 433.1 MB, free: 4.926 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.0001404/0.2405, allocations: 145.8 kB / 433.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.2406, allocations: 23.84 kB / 433.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.241, allocations: 187.3 kB / 433.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.241, allocations: 4 kB / 433.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.241, allocations: 0 / 433.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.241, allocations: 0 / 433.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.2413, allocations: 217.2 kB / 433.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2413, allocations: 4 kB / 433.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.2416, allocations: 51.97 kB / 433.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2416, allocations: 7.875 kB / 433.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.2416, allocations: 4 kB / 433.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2416, allocations: 4 kB / 433.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2416, allocations: 0 / 433.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.2422, allocations: 343.2 kB / 434.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.2422, allocations: 23.77 kB / 434.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.2422, allocations: 4.062 kB / 434.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.2424, allocations: 23.98 kB / 434.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.2425, allocations: 11.92 kB / 434.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2425, allocations: 8 kB / 434.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.2426, allocations: 136.4 kB / 434.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2426, allocations: 0 / 434.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000324/0.2429, allocations: 83.73 kB / 434.4 MB, free: 3.605 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.0001109/0.243, allocations: 95.19 kB / 434.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.2434, allocations: 155.8 kB / 434.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2434, allocations: 0 / 434.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.2436, allocations: 70.83 kB / 434.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.2439, allocations: 28.06 kB / 434.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.2453, allocations: 0.8643 MB / 435.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2454, allocations: 159.4 kB / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.2455, allocations: 23.42 kB / 435.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2455, allocations: 0 / 435.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of Templates: time 0.004936/0.2504, allocations: 2.947 MB / 438.7 MB, free: 15.22 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.055709849111736]