Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 59.92 kB / 374.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1023, allocations: 53.32 MB / 427.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004019/0.1063, allocations: 2.714 MB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1076, allocations: 0.709 MB / 431 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1078, allocations: 7.938 kB / 431 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.1079, allocations: 43.56 kB / 431 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.1081, allocations: 91.2 kB / 431.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1084, allocations: 91.86 kB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.1088, allocations: 342.5 kB / 431.5 MB, free: 232 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.109, allocations: 81.7 kB / 431.6 MB, free: 144 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.1093, allocations: 143.5 kB / 431.7 MB, free: 0 / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.238/0.3473, allocations: 130.8 kB / 431.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-05/0.3474, allocations: 27.19 kB / 431.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.3475, allocations: 27.81 kB / 431.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.3475, allocations: 59.58 kB / 432 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.3477, allocations: 147.9 kB / 432.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.3481, allocations: 319.4 kB / 432.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3481, allocations: 0 / 432.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3481, allocations: 0 / 432.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.3482, allocations: 1.406 kB / 432.4 MB, free: 8.723 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001011/0.3492, allocations: 0.5908 MB / 433 MB, free: 8.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3492, allocations: 15.44 kB / 433 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.3493, allocations: 32.72 kB / 433.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.3497, allocations: 266.8 kB / 433.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.3497, allocations: 19.06 kB / 433.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.3497, allocations: 28.12 kB / 433.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.3503, allocations: 277.1 kB / 433.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3503, allocations: 3.938 kB / 433.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.3503, allocations: 14.73 kB / 433.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3503, allocations: 7.188 kB / 433.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.3508, allocations: 205.5 kB / 433.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.3521, allocations: 1.013 MB / 434.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/0.3526, allocations: 175.3 kB / 435.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.353, allocations: 148.1 kB / 435.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.353, allocations: 4.562 kB / 435.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.353, allocations: 33.78 kB / 435.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.353, allocations: 0 / 435.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00175/0.3548, allocations: 0.5619 MB / 435.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.3548, allocations: 60.19 kB / 435.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.355, allocations: 228.3 kB / 436.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.355, allocations: 26.41 kB / 436.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.3551, allocations: 183.9 kB / 436.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.3552, allocations: 62.55 kB / 436.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.3552, allocations: 51.27 kB / 436.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.3553, allocations: 330.3 kB / 436.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.3555, allocations: 70.92 kB / 436.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.3557, allocations: 134.6 kB / 436.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.3561, allocations: 207.7 kB / 437.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3561, allocations: 3.938 kB / 437.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008785/0.3569, allocations: 354 kB / 437.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.357, allocations: 5.469 kB / 437.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.357, allocations: 4.781 kB / 437.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/0.3574, allocations: 79.39 kB / 437.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.3576, allocations: 51.91 kB / 437.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.3603, allocations: 2.001 MB / 439.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.3605, allocations: 34.52 kB / 439.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3605, allocations: 8.031 kB / 439.7 MB, free: 4.688 MB / 350.1 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.0001346/0.3607, allocations: 150 kB / 439.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.3607, allocations: 22.75 kB / 439.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.3608, allocations: 25.75 kB / 439.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3608, allocations: 1.875 kB / 439.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3608, allocations: 1.312 kB / 439.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3608, allocations: 0.8906 kB / 439.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3619, allocations: 0.6605 MB / 440.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.3619, allocations: 1 kB / 440.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.3621, allocations: 30.72 kB / 440.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002901/0.3624, allocations: 79.27 kB / 440.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3624, allocations: 2.031 kB / 440.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.3645, allocations: 1.922 MB / 442.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3645, allocations: 0.5156 kB / 442.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009313/0.3655, allocations: 457.1 kB / 443 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.3655, allocations: 97.41 kB / 443.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3656, allocations: 6.203 kB / 443.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.3658, allocations: 20.52 kB / 443.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.3658, allocations: 17.78 kB / 443.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3658, allocations: 3.656 kB / 443.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.366, allocations: 170.1 kB / 443.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.366, allocations: 0 / 443.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004628/0.3664, allocations: 77.98 kB / 443.4 MB, free: 1.953 MB / 350.1 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.0001365/0.3666, allocations: 107.6 kB / 443.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000989/0.3676, allocations: 370 kB / 443.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3676, allocations: 0 / 443.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.3679, allocations: 204.2 kB / 444 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.3683, allocations: 41.12 kB / 444.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.3709, allocations: 0.9023 MB / 445 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.3711, allocations: 0.7507 MB / 445.7 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.3712, allocations: 19.22 kB / 445.8 MB, free: 440 kB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3712, allocations: 0 / 445.8 MB, free: 440 kB / 350.1 MB Notification: Performance of Templates: time 0.007439/0.3786, allocations: 3.766 MB / 449.5 MB, free: 172 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.661681186000351]