Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001473/0.001473, allocations: 113 kB / 18.45 MB, free: 4.602 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.001514/0.001514, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.374/1.374, allocations: 225.6 MB / 249.8 MB, free: 3.652 MB / 190.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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 52.05 kB / 366.8 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/0.09383, allocations: 52.14 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006644/0.1005, allocations: 5.396 MB / 424.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.1032, allocations: 1.434 MB / 425.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.1037, allocations: 23.88 kB / 425.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.1041, allocations: 217.8 kB / 426 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005163/0.1046, allocations: 202 kB / 426.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007463/0.1054, allocations: 403.3 kB / 426.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.1066, allocations: 1.111 MB / 427.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005439/0.1071, allocations: 336.3 kB / 428.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005046/0.1076, allocations: 410.2 kB / 428.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.1081, allocations: 429.5 kB / 428.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.1082, allocations: 84 kB / 429 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.1084, allocations: 96 kB / 429.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.1086, allocations: 211.1 kB / 429.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.109, allocations: 0.4931 MB / 429.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.1103, allocations: 1.182 MB / 431 MB, free: 64 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1103, allocations: 4 kB / 431 MB, free: 60 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1103, allocations: 0 / 431 MB, free: 60 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1103, allocations: 0 / 431 MB, free: 60 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001957/0.1122, allocations: 1.347 MB / 432.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1123, allocations: 11.89 kB / 432.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.1125, allocations: 135.2 kB / 432.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.1135, allocations: 0.6543 MB / 433.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.1136, allocations: 77.94 kB / 433.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.1137, allocations: 103.9 kB / 433.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.1155, allocations: 1.034 MB / 434.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.1155, allocations: 7.922 kB / 434.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.1156, allocations: 44 kB / 434.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.1156, allocations: 31.94 kB / 434.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.1168, allocations: 0.5539 MB / 435 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/0.1219, allocations: 5.498 MB / 440.4 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.1225, allocations: 224.9 kB / 440.7 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.1228, allocations: 149.6 kB / 440.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.123, allocations: 89.11 kB / 440.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.123, allocations: 42.48 kB / 440.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.575e-06/0.123, allocations: 0 / 440.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004084/0.1271, allocations: 1.722 MB / 442.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.1272, allocations: 96.78 kB / 442.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.1279, allocations: 0.6334 MB / 443.4 MB, free: 2.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.128, allocations: 29.7 kB / 443.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/0.1284, allocations: 0.6161 MB / 444 MB, free: 2.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1285, allocations: 154.7 kB / 444.2 MB, free: 2.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.1287, allocations: 138.6 kB / 444.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1289, allocations: 382.8 kB / 444.7 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.1292, allocations: 161.8 kB / 444.9 MB, free: 1.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005766/0.1298, allocations: 493.1 kB / 445.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1716/0.3015, allocations: 0.6995 MB / 446 MB, free: 29.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.3015, allocations: 3.25 kB / 446 MB, free: 29.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001144/0.3026, allocations: 0.7151 MB / 446.8 MB, free: 29.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3026, allocations: 11.09 kB / 446.8 MB, free: 29.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.3027, allocations: 10.38 kB / 446.8 MB, free: 29.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.3027, allocations: 18.19 kB / 446.8 MB, free: 29.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/0.3033, allocations: 199.1 kB / 447 MB, free: 29.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.3033, allocations: 28.62 kB / 447 MB, free: 29.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.3036, allocations: 35.38 kB / 447.1 MB, free: 29.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.3037, allocations: 37.38 kB / 447.1 MB, free: 29.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0002695/0.3039, allocations: 228.5 kB / 447.3 MB, free: 29.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.304, allocations: 77.73 kB / 447.4 MB, free: 29.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.3041, allocations: 77.89 kB / 447.5 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3041, allocations: 11.62 kB / 447.5 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3042, allocations: 2.516 kB / 447.5 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3042, allocations: 5.219 kB / 447.5 MB, free: 29.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.3058, allocations: 1.312 MB / 448.8 MB, free: 28.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3058, allocations: 1.969 kB / 448.8 MB, free: 28.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.3062, allocations: 103.3 kB / 448.9 MB, free: 28.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3062, allocations: 0.9062 kB / 448.9 MB, free: 28.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.3063, allocations: 16.75 kB / 448.9 MB, free: 28.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3063, allocations: 5.219 kB / 448.9 MB, free: 28.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3063, allocations: 9.656 kB / 448.9 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007949/0.3071, allocations: 0.6921 MB / 449.6 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.3072, allocations: 145.1 kB / 449.8 MB, free: 28.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.3072, allocations: 15.53 kB / 449.8 MB, free: 28.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.3075, allocations: 19.92 kB / 449.8 MB, free: 28.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.3076, allocations: 38.75 kB / 449.8 MB, free: 28.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.3076, allocations: 12.31 kB / 449.8 MB, free: 28.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003647/0.3079, allocations: 423.5 kB / 450.3 MB, free: 28.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3079, allocations: 0 / 450.3 MB, free: 28.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005861/0.3085, allocations: 136.6 kB / 450.4 MB, free: 28.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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 9.726e-05/0.3086, allocations: 111.8 kB / 450.5 MB, free: 28.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006739/0.3093, allocations: 426.4 kB / 450.9 MB, free: 28.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3093, allocations: 1.094 kB / 450.9 MB, free: 28.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.3096, allocations: 149.6 kB / 451.1 MB, free: 28.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.3101, allocations: 80.75 kB / 451.1 MB, free: 28.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.3123, allocations: 1.716 MB / 452.9 MB, free: 27.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.3128, allocations: 1.003 MB / 453.9 MB, free: 26.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.313, allocations: 71.03 kB / 453.9 MB, free: 26.74 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.313, allocations: 0 / 453.9 MB, free: 26.74 MB / 366.1 MB Notification: Performance of Templates: time 0.01403/0.327, allocations: 9.372 MB / 463.3 MB, free: 24.7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.15444140182808]