Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 51.92 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1089, allocations: 53.33 MB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004519/0.1134, allocations: 2.921 MB / 429.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1148, allocations: 0.7089 MB / 430.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.1149, allocations: 8 kB / 430.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.1151, allocations: 59.38 kB / 430.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.1153, allocations: 91.19 kB / 430.6 MB, free: 468 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1156, allocations: 91.88 kB / 430.7 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000451/0.116, allocations: 374.4 kB / 431.1 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.1165, allocations: 109 kB / 431.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005769/0.1171, allocations: 151.4 kB / 431.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.1173, allocations: 153.1 kB / 431.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.596e-05/0.1174, allocations: 35.41 kB / 431.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.1174, allocations: 33.06 kB / 431.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.1175, allocations: 72.73 kB / 431.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.1177, allocations: 174.7 kB / 431.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005183/0.1182, allocations: 378.7 kB / 432.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1182, allocations: 3.562 kB / 432.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1182, allocations: 0 / 432.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.1182, allocations: 0.7812 kB / 432.1 MB, free: 7.648 MB / 350.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.001036/0.1193, allocations: 0.6165 MB / 432.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1193, allocations: 9.656 kB / 432.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.1194, allocations: 39.52 kB / 432.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1197, allocations: 260.3 kB / 433.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.1198, allocations: 26.09 kB / 433.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.1198, allocations: 30.84 kB / 433.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.1203, allocations: 275.7 kB / 433.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1203, allocations: 7.875 kB / 433.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.1204, allocations: 13.94 kB / 433.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.1204, allocations: 8.344 kB / 433.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.1208, allocations: 201.9 kB / 433.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.1223, allocations: 0.9819 MB / 434.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.1227, allocations: 144.7 kB / 434.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.1229, allocations: 81.16 kB / 434.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1229, allocations: 7.938 kB / 434.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.123, allocations: 36.03 kB / 434.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.123, allocations: 0 / 434.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006789/0.1236, allocations: 215.7 kB / 435.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1237, allocations: 54.94 kB / 435.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.1239, allocations: 212.2 kB / 435.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.124, allocations: 26.8 kB / 435.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1241, allocations: 193.9 kB / 435.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.1242, allocations: 72.72 kB / 435.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.1243, allocations: 46.31 kB / 435.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.1244, allocations: 329.9 kB / 436 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1246, allocations: 66.06 kB / 436.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1248, allocations: 124.2 kB / 436.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.1251, allocations: 182.9 kB / 436.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1251, allocations: 2.75 kB / 436.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000509/0.1256, allocations: 251.3 kB / 436.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1257, allocations: 9.469 kB / 436.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1257, allocations: 2.953 kB / 436.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1257, allocations: 3.375 kB / 436.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.126, allocations: 61.86 kB / 436.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.126, allocations: 2.906 kB / 436.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.1262, allocations: 28.41 kB / 436.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.1262, allocations: 12.05 kB / 436.7 MB, free: 5.422 MB / 350.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.0001217/0.1263, allocations: 139.4 kB / 436.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.1264, allocations: 33.2 kB / 436.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.1268, allocations: 190 kB / 437.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1268, allocations: 2.562 kB / 437.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1268, allocations: 0.6094 kB / 437.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1268, allocations: 0.6562 kB / 437.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.1272, allocations: 324.5 kB / 437.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1272, allocations: 1.172 kB / 437.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.1275, allocations: 54.02 kB / 437.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1275, allocations: 0.875 kB / 437.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.1275, allocations: 6.578 kB / 437.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1275, allocations: 1.094 kB / 437.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1275, allocations: 0.7969 kB / 437.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.1281, allocations: 348.8 kB / 437.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.1282, allocations: 105.8 kB / 437.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.1282, allocations: 6.953 kB / 437.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1284, allocations: 15.36 kB / 437.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.1285, allocations: 12.31 kB / 437.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1285, allocations: 7.812 kB / 437.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1286, allocations: 147.5 kB / 438.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1286, allocations: 0 / 438.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.1289, allocations: 73.28 kB / 438.2 MB, free: 4.695 MB / 350.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.0001032/0.129, allocations: 109.2 kB / 438.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004174/0.1294, allocations: 148.2 kB / 438.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1294, allocations: 0 / 438.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.1296, allocations: 76.23 kB / 438.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1299, allocations: 36.61 kB / 438.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1313, allocations: 0.8289 MB / 439.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1316, allocations: 0.7657 MB / 440.1 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.928e-05/0.1317, allocations: 19.27 kB / 440.1 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.1317, allocations: 24.34 kB / 440.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1317, allocations: 0 / 440.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of Templates: time 0.006499/0.1382, allocations: 2.066 MB / 442.2 MB, free: 3.227 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.871484823524952]