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.001614/0.001614, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.001758/0.001758, allocations: 205.9 kB / 24.48 MB, free: 3.934 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.432/1.432, allocations: 230.5 MB / 258.1 MB, free: 7.75 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.001963/0.001963, allocations: 64.03 kB / 379 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2241, allocations: 53.42 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006529/0.2306, allocations: 4.772 MB / 437.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.2336, allocations: 1.473 MB / 438.7 MB, free: 260 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/0.234, allocations: 39.69 kB / 438.7 MB, free: 220 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.2345, allocations: 217.8 kB / 438.9 MB, free: 0 / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005621/0.2351, allocations: 190.1 kB / 439.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008996/0.236, allocations: 423.3 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.2373, allocations: 1.118 MB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/0.2378, allocations: 319.8 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005723/0.2384, allocations: 422.3 kB / 441.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004354/0.2388, allocations: 373.5 kB / 441.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.239, allocations: 84 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.2392, allocations: 111.9 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.2393, allocations: 207.1 kB / 442.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.2397, allocations: 405.7 kB / 442.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.2409, allocations: 1.197 MB / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2409, allocations: 0 / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2409, allocations: 0 / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.2409, allocations: 0 / 443.7 MB, free: 11.16 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.001843/0.2428, allocations: 1.275 MB / 445 MB, free: 9.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2428, allocations: 11.98 kB / 445 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.2432, allocations: 151.1 kB / 445.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.2443, allocations: 0.5782 MB / 445.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.2443, allocations: 77.94 kB / 445.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.2445, allocations: 99.94 kB / 445.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.2462, allocations: 1.077 MB / 447 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.2462, allocations: 11.89 kB / 447 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/0.2463, allocations: 44 kB / 447 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.2463, allocations: 28 kB / 447.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2474, allocations: 0.5539 MB / 447.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004844/0.2523, allocations: 5.121 MB / 452.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.2529, allocations: 228.9 kB / 453 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.2532, allocations: 148.6 kB / 453.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.392e-05/0.2532, allocations: 8 kB / 453.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.2533, allocations: 42.48 kB / 453.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.2533, allocations: 0 / 453.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003808/0.2571, allocations: 1.604 MB / 454.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.2572, allocations: 85.11 kB / 454.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007439/0.2579, allocations: 0.6564 MB / 455.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.2579, allocations: 33.7 kB / 455.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.2584, allocations: 0.6161 MB / 456.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.2585, allocations: 150.8 kB / 456.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.2587, allocations: 134.6 kB / 456.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.2589, allocations: 390.7 kB / 456.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.2592, allocations: 149.9 kB / 456.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/0.2598, allocations: 0.497 MB / 457.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/0.2608, allocations: 0.6953 MB / 458.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2608, allocations: 0 / 458.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001187/0.2619, allocations: 0.7121 MB / 458.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.262, allocations: 12 kB / 458.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.262, allocations: 16.12 kB / 458.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.262, allocations: 16 kB / 458.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/0.2626, allocations: 195.7 kB / 459.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/0.2627, allocations: 27.81 kB / 459.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.263, allocations: 35.98 kB / 459.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.2631, allocations: 40 kB / 459.2 MB, free: 10.73 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.0002934/0.2634, allocations: 225.5 kB / 459.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2635, allocations: 87.47 kB / 459.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.2636, allocations: 70.64 kB / 459.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.2636, allocations: 4 kB / 459.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2636, allocations: 3.938 kB / 459.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2636, allocations: 3.984 kB / 459.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.2655, allocations: 1.144 MB / 460.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.2655, allocations: 0 / 460.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.266, allocations: 99.88 kB / 460.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.266, allocations: 4 kB / 460.8 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.266, allocations: 11.98 kB / 460.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.266, allocations: 7.938 kB / 460.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.266, allocations: 160 / 460.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.2671, allocations: 0.7014 MB / 461.5 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2672, allocations: 71.52 kB / 461.6 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.2672, allocations: 11.94 kB / 461.6 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.2675, allocations: 23.92 kB / 461.6 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.2676, allocations: 39.88 kB / 461.7 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.2676, allocations: 16 kB / 461.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004815/0.2681, allocations: 415 kB / 462.1 MB, free: 7.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2681, allocations: 0 / 462.1 MB, free: 7.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006227/0.2687, allocations: 144 kB / 462.2 MB, free: 7.586 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.0001345/0.2689, allocations: 111.1 kB / 462.4 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000764/0.2696, allocations: 410 kB / 462.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.2696, allocations: 4.312 kB / 462.8 MB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.2699, allocations: 143.8 kB / 462.9 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.2704, allocations: 77.42 kB / 463 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.2732, allocations: 1.726 MB / 464.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.2736, allocations: 421.3 kB / 465.1 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.2737, allocations: 67.42 kB / 465.2 MB, free: 4.555 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2737, allocations: 4 kB / 465.2 MB, free: 4.551 MB / 366.1 MB Notification: Performance of Templates: time 0.01418/0.2879, allocations: 9.717 MB / 474.9 MB, free: 10.83 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.561333851888776]