Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.001385/0.001385, allocations: 88.62 kB / 20.96 MB, free: 3.48 MB / 18.57 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.001499/0.001499, allocations: 149.4 kB / 24.25 MB, free: 192 kB / 18.57 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.484/1.484, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 267.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.883e-05, allocations: 2.312 kB / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004415/0.004444, allocations: 2.51 MB / 269.9 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.005992, allocations: 0.6583 MB / 270.5 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.00614, allocations: 4 kB / 270.6 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.006347, allocations: 47.45 kB / 270.6 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.006574, allocations: 87.25 kB / 270.7 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.006863, allocations: 91.75 kB / 270.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.007317, allocations: 358.3 kB / 271.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.007539, allocations: 78.02 kB / 271.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.007858, allocations: 199.5 kB / 271.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.008036, allocations: 99.69 kB / 271.5 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.008092, allocations: 28 kB / 271.5 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.161e-05/0.008143, allocations: 28 kB / 271.5 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.008209, allocations: 59.75 kB / 271.6 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.008594, allocations: 107.7 kB / 271.7 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.00902, allocations: 322.9 kB / 272 MB, free: 1.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.009024, allocations: 0 / 272 MB, free: 1.996 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.009025, allocations: 0 / 272 MB, free: 1.996 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.009031, allocations: 0 / 272 MB, free: 1.996 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00117/0.0102, allocations: 0.5131 MB / 272.5 MB, free: 1.449 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.01025, allocations: 12.03 kB / 272.6 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.01038, allocations: 52.75 kB / 272.6 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.0108, allocations: 209.2 kB / 272.8 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.01083, allocations: 20.88 kB / 272.8 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.01089, allocations: 24.38 kB / 272.9 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006749/0.01156, allocations: 356.4 kB / 273.2 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.01157, allocations: 192 / 273.2 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.01161, allocations: 12.38 kB / 273.2 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.01162, allocations: 11.94 kB / 273.2 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.01212, allocations: 205.8 kB / 273.4 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.01386, allocations: 0.8607 MB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.0144, allocations: 178.5 kB / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.01484, allocations: 144.7 kB / 274.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.01486, allocations: 4 kB / 274.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.0149, allocations: 42.5 kB / 274.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.01491, allocations: 4 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001848/0.01675, allocations: 497.2 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.01681, allocations: 59.34 kB / 275.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.01707, allocations: 222.7 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.0171, allocations: 29.7 kB / 275.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.01726, allocations: 180.1 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.01732, allocations: 55.48 kB / 275.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-05/0.01741, allocations: 53.59 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.0176, allocations: 338.8 kB / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.0178, allocations: 67.97 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.01805, allocations: 134.8 kB / 276.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.01848, allocations: 197.7 kB / 276.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.01849, allocations: 4 kB / 276.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009738/0.01946, allocations: 362.1 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.01948, allocations: 8 kB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01949, allocations: 0 / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006932/0.02018, allocations: 136.8 kB / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.02039, allocations: 47.92 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.0239, allocations: 1.879 MB / 278.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.0241, allocations: 31.83 kB / 278.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.02412, allocations: 8 kB / 278.9 MB, free: 10.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.02428, allocations: 133.8 kB / 279 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.02434, allocations: 27.84 kB / 279.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.0244, allocations: 25.8 kB / 279.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.0244, allocations: 4.062 kB / 279.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.0244, allocations: 0 / 279.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.02441, allocations: 4 kB / 279.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.02564, allocations: 0.5572 MB / 279.7 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02564, allocations: 4 kB / 279.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.02581, allocations: 35.91 kB / 279.7 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/0.02637, allocations: 128.8 kB / 279.8 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.02639, allocations: 4 kB / 279.8 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002808/0.0292, allocations: 1.805 MB / 281.6 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.0292, allocations: 0 / 281.6 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.03026, allocations: 455.9 kB / 282.1 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.03031, allocations: 15.94 kB / 282.1 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.03033, allocations: 7.938 kB / 282.1 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.03054, allocations: 19.98 kB / 282.1 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.03058, allocations: 19.97 kB / 282.1 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.03059, allocations: 8 kB / 282.1 MB, free: 7.316 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.03077, allocations: 152.6 kB / 282.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03077, allocations: 0 / 282.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004751/0.03124, allocations: 83.77 kB / 282.4 MB, free: 7.086 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.03141, allocations: 103.2 kB / 282.5 MB, free: 6.977 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009894/0.0324, allocations: 367.8 kB / 282.8 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.0324, allocations: 0 / 282.8 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.03275, allocations: 202.4 kB / 283 MB, free: 6.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.03315, allocations: 47.55 kB / 283.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.03563, allocations: 0.806 MB / 283.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.03579, allocations: 142.2 kB / 284 MB, free: 5.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.888e-05/0.03589, allocations: 17.94 kB / 284 MB, free: 5.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.03595, allocations: 24.5 kB / 284.1 MB, free: 5.324 MB / 266.7 MB Notification: Performance of SimCode: time 1.272e-06/0.03595, allocations: 0 / 284.1 MB, free: 5.324 MB / 266.7 MB Notification: Performance of Templates: time 0.007443/0.04339, allocations: 2.705 MB / 286.8 MB, free: 2.648 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.452694308012724]