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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=1998,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=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 110.5 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 183 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009873/0.0009873, allocations: 51.92 kB / 352 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2299, allocations: 49.44 MB / 401.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003383/0.2333, allocations: 2.692 MB / 404.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009902/0.2343, allocations: 0.67 MB / 404.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.2345, allocations: 8 kB / 404.8 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.2346, allocations: 51.5 kB / 404.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.2348, allocations: 83.25 kB / 405 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.2351, allocations: 91.81 kB / 405 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.2354, allocations: 342.5 kB / 405.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.2356, allocations: 101.7 kB / 405.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.2358, allocations: 135.4 kB / 405.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.236, allocations: 139.4 kB / 405.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.236, allocations: 28 kB / 405.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.976e-05/0.2361, allocations: 31.94 kB / 405.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.2361, allocations: 59.81 kB / 405.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2363, allocations: 151.2 kB / 406 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.2366, allocations: 316 kB / 406.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2366, allocations: 0 / 406.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2366, allocations: 0 / 406.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2366, allocations: 0 / 406.3 MB, free: 3.953 MB / 318.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.0009247/0.2375, allocations: 0.5887 MB / 406.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2376, allocations: 15.88 kB / 406.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.2376, allocations: 36.66 kB / 407 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.2379, allocations: 260.2 kB / 407.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.238, allocations: 20.94 kB / 407.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.238, allocations: 24.38 kB / 407.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.2385, allocations: 276 kB / 407.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2386, allocations: 8 kB / 407.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.2386, allocations: 8 kB / 407.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2386, allocations: 8 kB / 407.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.2391, allocations: 210.1 kB / 407.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.2406, allocations: 1.007 MB / 408.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.241, allocations: 190.5 kB / 409 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.2414, allocations: 153.1 kB / 409.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.2415, allocations: 3.906 kB / 409.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.2415, allocations: 38.56 kB / 409.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.2415, allocations: 0 / 409.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001744/0.2433, allocations: 0.5575 MB / 409.7 MB, free: 360 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.2433, allocations: 51.41 kB / 409.8 MB, free: 296 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.2435, allocations: 233 kB / 410 MB, free: 52 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.2436, allocations: 25.7 kB / 410 MB, free: 20 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2437, allocations: 183.8 kB / 410.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.2437, allocations: 63.05 kB / 410.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/0.2438, allocations: 49.61 kB / 410.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2439, allocations: 334.8 kB / 410.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.2441, allocations: 71.95 kB / 410.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.2443, allocations: 126.8 kB / 410.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.2447, allocations: 214.6 kB / 411 MB, free: 14.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2447, allocations: 0 / 411 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008453/0.2456, allocations: 346 kB / 411.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2456, allocations: 8 kB / 411.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2456, allocations: 0 / 411.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.246, allocations: 84.86 kB / 411.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.2462, allocations: 55.84 kB / 411.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.249, allocations: 2.013 MB / 413.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.2492, allocations: 27.91 kB / 413.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.2493, allocations: 8 kB / 413.6 MB, free: 12.25 MB / 334.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.0001363/0.2494, allocations: 157.6 kB / 413.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.2495, allocations: 19.72 kB / 413.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.2495, allocations: 22.19 kB / 413.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2495, allocations: 7.984 kB / 413.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2495, allocations: 0 / 413.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.2496, allocations: 92.83 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.2496, allocations: 8 kB / 413.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2499, allocations: 23.92 kB / 413.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.2499, allocations: 15.97 kB / 413.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00103/0.2509, allocations: 392.3 kB / 414.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005785/0.2515, allocations: 426.3 kB / 414.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001577/0.2517, allocations: 67.86 kB / 414.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.2519, allocations: 168.5 kB / 414.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Backend: time 6.71e-07/0.2519, allocations: 0 / 414.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.2529, allocations: 396.8 kB / 415.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of SimCode: time 0.001025/0.2539, allocations: 1.028 MB / 416.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of Templates: time 0.005969/0.2599, allocations: 2.955 MB / 419.3 MB, free: 6.398 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches