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.0008641/0.0008641, allocations: 88.33 kB / 21.44 MB, free: 3.113 MB / 18.57 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.004169/0.004169, allocations: 153.4 kB / 24.69 MB, free: 9.43 MB / 18.57 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 0.8333/0.8333, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.312e-06/1.312e-06, allocations: 0 / 325.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.136e-05, allocations: 2.844 kB / 325.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.003805/0.003827, allocations: 4.777 MB / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.005512, allocations: 1.477 MB / 332.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.005786, allocations: 47.62 kB / 332.1 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.006093, allocations: 217.8 kB / 332.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.00643, allocations: 201.8 kB / 332.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.006956, allocations: 431.1 kB / 332.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006887/0.007645, allocations: 1.149 MB / 334.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.007991, allocations: 316.9 kB / 334.4 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004553/0.008447, allocations: 0.5884 MB / 335 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.008689, allocations: 294.8 kB / 335.3 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.008759, allocations: 84 kB / 335.4 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.008882, allocations: 103.9 kB / 335.5 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.008979, allocations: 223 kB / 335.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.009151, allocations: 319 kB / 336 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007416/0.009892, allocations: 1.164 MB / 337.2 MB, free: 3.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.009895, allocations: 4 kB / 337.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.009896, allocations: 0 / 337.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.009906, allocations: 0 / 337.2 MB, free: 3.898 MB / 298.7 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.001107/0.01101, allocations: 1.256 MB / 338.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.01105, allocations: 11.98 kB / 338.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.01126, allocations: 159.1 kB / 338.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.01189, allocations: 0.5743 MB / 339.2 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.01192, allocations: 74 kB / 339.2 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.012, allocations: 96 kB / 339.3 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.01297, allocations: 1.085 MB / 340.4 MB, free: 460 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.013, allocations: 7.938 kB / 340.4 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.01304, allocations: 44 kB / 340.5 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.01305, allocations: 24 kB / 340.5 MB, free: 384 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006722/0.01373, allocations: 0.5655 MB / 341 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.01641, allocations: 5.116 MB / 346.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.01675, allocations: 217 kB / 346.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.01693, allocations: 149.6 kB / 346.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.01701, allocations: 12 kB / 346.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.01703, allocations: 38.5 kB / 346.6 MB, free: 9.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.01703, allocations: 0 / 346.6 MB, free: 9.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.002062/0.01909, allocations: 1.604 MB / 348.2 MB, free: 8.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.01913, allocations: 81.11 kB / 348.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.01957, allocations: 0.6527 MB / 348.9 MB, free: 7.555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.01959, allocations: 33.7 kB / 348.9 MB, free: 7.516 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.01984, allocations: 0.6162 MB / 349.6 MB, free: 6.891 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.0199, allocations: 150.7 kB / 349.7 MB, free: 6.742 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.02, allocations: 138.6 kB / 349.8 MB, free: 6.602 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.02012, allocations: 390.7 kB / 350.2 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.02029, allocations: 149.9 kB / 350.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.0206, allocations: 0.4895 MB / 350.9 MB, free: 5.414 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/0.02114, allocations: 0.6991 MB / 351.6 MB, free: 4.555 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.02114, allocations: 8 kB / 351.6 MB, free: 4.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006599/0.0218, allocations: 0.7194 MB / 352.3 MB, free: 3.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.02182, allocations: 8 kB / 352.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.02183, allocations: 15.98 kB / 352.3 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.02185, allocations: 16 kB / 352.3 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.02216, allocations: 200.3 kB / 352.5 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.02218, allocations: 27.86 kB / 352.5 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.02235, allocations: 35.97 kB / 352.6 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.02237, allocations: 36 kB / 352.6 MB, free: 3.488 MB / 314.7 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.0001884/0.02256, allocations: 233.4 kB / 352.8 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.02262, allocations: 79.48 kB / 352.9 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.72e-05/0.02269, allocations: 82.62 kB / 353 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.02269, allocations: 4 kB / 353 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.02269, allocations: 0 / 353 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.0227, allocations: 4 kB / 353 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.02375, allocations: 1.128 MB / 354.1 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.02376, allocations: 4 kB / 354.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.02398, allocations: 108 kB / 354.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.02398, allocations: 4 kB / 354.2 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.024, allocations: 8 kB / 354.3 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.024, allocations: 3.984 kB / 354.3 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.024, allocations: 4 kB / 354.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.0246, allocations: 0.7041 MB / 355 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.02465, allocations: 67.48 kB / 355 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.02469, allocations: 12.03 kB / 355 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.02483, allocations: 23.98 kB / 355.1 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.02488, allocations: 35.83 kB / 355.1 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.02489, allocations: 11.98 kB / 355.1 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002772/0.02517, allocations: 423 kB / 355.5 MB, free: 492 kB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02517, allocations: 0 / 355.5 MB, free: 492 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003537/0.02552, allocations: 140 kB / 355.7 MB, free: 352 kB / 314.7 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.584e-05/0.02562, allocations: 115.1 kB / 355.8 MB, free: 224 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000433/0.02605, allocations: 412.5 kB / 356.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02605, allocations: 1.875 kB / 356.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.02621, allocations: 148 kB / 356.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.02654, allocations: 75.3 kB / 356.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.0281, allocations: 1.604 MB / 358 MB, free: 13.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.02835, allocations: 421.2 kB / 358.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.02846, allocations: 72.47 kB / 358.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02846, allocations: 0 / 358.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of Templates: time 0.007682/0.03614, allocations: 9.712 MB / 368.2 MB, free: 3.707 MB / 330.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/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: 4.221920928917825]