Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001362/0.001362, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001572/0.001572, allocations: 213.1 kB / 24.5 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.453/1.453, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.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.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.89 kB / 379.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2507, allocations: 53.41 MB / 432.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006934/0.2576, allocations: 5.433 MB / 437.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.2609, allocations: 1.527 MB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.2615, allocations: 35.69 kB / 439.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005273/0.262, allocations: 217.8 kB / 439.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006444/0.2627, allocations: 206 kB / 439.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000918/0.2636, allocations: 419.2 kB / 440.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.265, allocations: 1.126 MB / 441.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005829/0.2655, allocations: 336.9 kB / 441.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006228/0.2662, allocations: 426.2 kB / 442.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.2667, allocations: 429.6 kB / 442.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.2668, allocations: 84 kB / 442.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.267, allocations: 104 kB / 442.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.2672, allocations: 211.1 kB / 443 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.2676, allocations: 0.4932 MB / 443.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.269, allocations: 1.195 MB / 444.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.269, allocations: 3.938 kB / 444.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.269, allocations: 0 / 444.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.269, allocations: 4 kB / 444.7 MB, free: 10.47 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001953/0.2709, allocations: 1.271 MB / 445.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.271, allocations: 8.031 kB / 445.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.2713, allocations: 155.1 kB / 446.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.2724, allocations: 0.5743 MB / 446.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/0.2725, allocations: 81.92 kB / 446.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.2726, allocations: 100 kB / 446.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.2743, allocations: 1.031 MB / 447.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.2743, allocations: 8 kB / 447.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.2744, allocations: 43.94 kB / 447.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.2744, allocations: 28 kB / 448 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.2756, allocations: 0.5539 MB / 448.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00548/0.2811, allocations: 5.409 MB / 453.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.2817, allocations: 221 kB / 454.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.282, allocations: 153.6 kB / 454.3 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.2821, allocations: 11.98 kB / 454.3 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.2822, allocations: 38.5 kB / 454.3 MB, free: 308 kB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.555e-06/0.2822, allocations: 0 / 454.3 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00434/0.2865, allocations: 1.596 MB / 455.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.2866, allocations: 85.05 kB / 456 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.2874, allocations: 0.6413 MB / 456.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.2874, allocations: 33.7 kB / 456.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.2879, allocations: 0.6161 MB / 457.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.288, allocations: 154.8 kB / 457.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.2882, allocations: 138.5 kB / 457.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.2884, allocations: 390.7 kB / 458 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.2887, allocations: 149.9 kB / 458.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.2893, allocations: 0.4971 MB / 458.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2904, allocations: 0.6992 MB / 459.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2904, allocations: 8 kB / 459.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001225/0.2916, allocations: 0.7117 MB / 460 MB, free: 10.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.2916, allocations: 12 kB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.2916, allocations: 12 kB / 460.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/0.2917, allocations: 16 kB / 460.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.2923, allocations: 196.2 kB / 460.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/0.2924, allocations: 27.88 kB / 460.3 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.2927, allocations: 35.98 kB / 460.3 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.2928, allocations: 40 kB / 460.4 MB, free: 9.82 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.0003447/0.2931, allocations: 233.5 kB / 460.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.2932, allocations: 75.48 kB / 460.7 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.2934, allocations: 74.69 kB / 460.7 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2934, allocations: 4 kB / 460.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.2934, allocations: 7.938 kB / 460.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.2934, allocations: 3.984 kB / 460.8 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.2956, allocations: 1.287 MB / 462 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2957, allocations: 0 / 462 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.2961, allocations: 107.9 kB / 462.1 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2961, allocations: 4 kB / 462.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.2962, allocations: 11.94 kB / 462.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.2962, allocations: 4 kB / 462.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/0.2962, allocations: 12.09 kB / 462.2 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.2972, allocations: 0.6975 MB / 462.9 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.2973, allocations: 71.45 kB / 462.9 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.2974, allocations: 15.94 kB / 463 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.2977, allocations: 19.98 kB / 463 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.2978, allocations: 35.94 kB / 463 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.2978, allocations: 12 kB / 463 MB, free: 7.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005012/0.2983, allocations: 423 kB / 463.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2983, allocations: 0 / 463.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006724/0.299, allocations: 144 kB / 463.6 MB, free: 6.504 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 0.0001343/0.2991, allocations: 107.1 kB / 463.7 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008259/0.3, allocations: 422.2 kB / 464.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3, allocations: 3.938 kB / 464.1 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.3002, allocations: 143.8 kB / 464.2 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.3008, allocations: 75.17 kB / 464.3 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.3037, allocations: 1.734 MB / 466.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.3043, allocations: 1.004 MB / 467.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.3045, allocations: 71.41 kB / 467.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3045, allocations: 3.938 kB / 467.1 MB, free: 2.859 MB / 366.1 MB Notification: Performance of Templates: time 0.01598/0.3205, allocations: 9.407 MB / 476.5 MB, free: 9.449 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.76938086701557]