Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.008594/0.008594, allocations: 105.5 kB / 21.98 MB, free: 5.223 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.00196/0.00196, allocations: 212.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 259 MB, free: 8.039 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 379.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2725, allocations: 53.36 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00409/0.2766, allocations: 2.746 MB / 436 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2779, allocations: 0.7011 MB / 436.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.2781, allocations: 8 kB / 436.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.2782, allocations: 51.5 kB / 436.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.2784, allocations: 83.25 kB / 436.8 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.2787, allocations: 91.81 kB / 436.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.2791, allocations: 334.5 kB / 437.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.2793, allocations: 89.64 kB / 437.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.2796, allocations: 143.5 kB / 437.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.2798, allocations: 139.4 kB / 437.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.2799, allocations: 28 kB / 437.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.906e-05/0.2799, allocations: 31.94 kB / 437.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.28, allocations: 63.7 kB / 437.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.2801, allocations: 143.3 kB / 437.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.2805, allocations: 317.2 kB / 438.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2805, allocations: 0 / 438.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2805, allocations: 0 / 438.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.2805, allocations: 0 / 438.1 MB, free: 1.996 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.001002/0.2815, allocations: 0.517 MB / 438.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2816, allocations: 12.03 kB / 438.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.2816, allocations: 32.75 kB / 438.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.282, allocations: 214 kB / 438.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.282, allocations: 12.88 kB / 438.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.2821, allocations: 24.38 kB / 439 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.2826, allocations: 287.1 kB / 439.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2826, allocations: 3.984 kB / 439.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.2827, allocations: 15.94 kB / 439.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2827, allocations: 7.938 kB / 439.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.2831, allocations: 201.9 kB / 439.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.2848, allocations: 0.9725 MB / 440.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.2853, allocations: 177.4 kB / 440.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/0.2857, allocations: 148.8 kB / 440.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.2857, allocations: 0 / 440.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.2858, allocations: 30.88 kB / 440.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.2858, allocations: 4 kB / 440.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001609/0.2874, allocations: 497.8 kB / 441.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.2874, allocations: 59.34 kB / 441.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.2877, allocations: 229 kB / 441.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.2877, allocations: 33.7 kB / 441.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2878, allocations: 180.1 kB / 441.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.2879, allocations: 59.55 kB / 441.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.288, allocations: 45.66 kB / 441.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2881, allocations: 338.8 kB / 442.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.2883, allocations: 67.97 kB / 442.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.2886, allocations: 127.6 kB / 442.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.2889, allocations: 208.7 kB / 442.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2889, allocations: 0 / 442.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008223/0.2898, allocations: 354.1 kB / 442.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2898, allocations: 4 kB / 442.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2898, allocations: 8.062 kB / 442.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/0.2901, allocations: 76.8 kB / 443 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.2903, allocations: 55.84 kB / 443.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.2932, allocations: 1.898 MB / 445 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.2934, allocations: 39.86 kB / 445 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.2934, allocations: 11.94 kB / 445 MB, free: 10.73 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.0001626/0.2936, allocations: 144.7 kB / 445.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.2936, allocations: 23.86 kB / 445.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.2937, allocations: 30.14 kB / 445.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2937, allocations: 0 / 445.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2937, allocations: 0 / 445.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2937, allocations: 0 / 445.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.2949, allocations: 0.634 MB / 445.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2949, allocations: 0 / 445.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.295, allocations: 31.92 kB / 445.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.2953, allocations: 80.8 kB / 446 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.2953, allocations: 0 / 446 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/0.2977, allocations: 1.82 MB / 447.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2977, allocations: 0 / 447.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009136/0.2986, allocations: 456 kB / 448.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.2987, allocations: 27.81 kB / 448.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.2987, allocations: 4 kB / 448.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.2989, allocations: 15.98 kB / 448.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.2989, allocations: 15.98 kB / 448.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2989, allocations: 8.062 kB / 448.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.2991, allocations: 172.4 kB / 448.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2991, allocations: 0 / 448.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.2995, allocations: 75.89 kB / 448.5 MB, free: 7.023 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.0001376/0.2997, allocations: 99.19 kB / 448.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009023/0.3006, allocations: 366.4 kB / 449 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3006, allocations: 0 / 449 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.3009, allocations: 202.5 kB / 449.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3012, allocations: 32.97 kB / 449.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.3037, allocations: 0.911 MB / 450.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.3042, allocations: 0.748 MB / 450.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.3042, allocations: 19.44 kB / 450.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3042, allocations: 0 / 450.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of Templates: time 0.006591/0.3108, allocations: 3.768 MB / 454.7 MB, free: 0.7969 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.587272939970717]