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.001774/0.001774, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002129/0.002129, allocations: 211 kB / 24.48 MB, free: 3.938 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.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.001573/0.001573, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2252, allocations: 53.38 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004119/0.2294, allocations: 2.528 MB / 434.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2309, allocations: 0.67 MB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.2311, allocations: 7.938 kB / 435.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.2313, allocations: 43.56 kB / 435.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.2315, allocations: 91.27 kB / 435.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.2318, allocations: 91.81 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.2322, allocations: 342.5 kB / 436.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.2324, allocations: 81.62 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.2327, allocations: 131.6 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.2328, allocations: 123.4 kB / 436.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.2329, allocations: 28 kB / 436.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.387e-05/0.2329, allocations: 28 kB / 436.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.074e-05/0.233, allocations: 67.69 kB / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.2331, allocations: 123.5 kB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.2335, allocations: 317.7 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2335, allocations: 3.984 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2335, allocations: 0 / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.2335, allocations: 0 / 437 MB, free: 2.051 MB / 334.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.001047/0.2346, allocations: 0.5247 MB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2346, allocations: 8.031 kB / 437.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.2347, allocations: 32.75 kB / 437.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.2351, allocations: 206.1 kB / 437.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2351, allocations: 16.88 kB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.2352, allocations: 20.38 kB / 437.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.2357, allocations: 368.1 kB / 438.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2357, allocations: 4 kB / 438.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.2358, allocations: 12 kB / 438.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2358, allocations: 4 kB / 438.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.2362, allocations: 197.9 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.2378, allocations: 0.8718 MB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.2382, allocations: 178.5 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.2386, allocations: 148.8 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.2387, allocations: 4.25 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2387, allocations: 34.56 kB / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.2387, allocations: 0 / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001679/0.2404, allocations: 486 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.2404, allocations: 59.34 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.2406, allocations: 226.7 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.2407, allocations: 33.64 kB / 440.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.2408, allocations: 180.1 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.2408, allocations: 71.28 kB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.2409, allocations: 49.7 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2411, allocations: 330.8 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.2412, allocations: 63.97 kB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.2415, allocations: 131.6 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.2418, allocations: 204.7 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2419, allocations: 4 kB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008427/0.2427, allocations: 361.3 kB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2427, allocations: 6.656 kB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2427, allocations: 4 kB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003513/0.2431, allocations: 76.86 kB / 441.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.2433, allocations: 55.91 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.2461, allocations: 1.86 MB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.2462, allocations: 35.77 kB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.2463, allocations: 12 kB / 443.8 MB, free: 10.87 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.0001374/0.2464, allocations: 133.8 kB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.2464, allocations: 23.86 kB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.2465, allocations: 25.8 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2465, allocations: 4 kB / 444 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2465, allocations: 0 / 444 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2465, allocations: 0 / 444 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.2476, allocations: 0.565 MB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2476, allocations: 0 / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.2478, allocations: 35.98 kB / 444.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.248, allocations: 72.8 kB / 444.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.248, allocations: 7.938 kB / 444.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.2504, allocations: 1.789 MB / 446.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2504, allocations: 0 / 446.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.2514, allocations: 462.5 kB / 446.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.2514, allocations: 15.89 kB / 446.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.2514, allocations: 8 kB / 446.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.2516, allocations: 20.05 kB / 447 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.2516, allocations: 15.97 kB / 447 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.2517, allocations: 4 kB / 447 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.2518, allocations: 156.5 kB / 447.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2518, allocations: 0 / 447.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004317/0.2522, allocations: 79.83 kB / 447.2 MB, free: 7.301 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.0001502/0.2524, allocations: 107.2 kB / 447.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009211/0.2533, allocations: 361.5 kB / 447.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2533, allocations: 0 / 447.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.2536, allocations: 198.6 kB / 447.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.254, allocations: 44.12 kB / 447.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.2564, allocations: 0.8941 MB / 448.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.2565, allocations: 146.1 kB / 449 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.2565, allocations: 15.44 kB / 449 MB, free: 5.469 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2565, allocations: 0 / 449 MB, free: 5.469 MB / 350.1 MB Notification: Performance of Templates: time 0.006042/0.2626, allocations: 3.754 MB / 452.7 MB, free: 1.711 MB / 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.330571674276143]