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.001918/0.001918, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001991/0.001991, allocations: 153.5 kB / 24.27 MB, free: 168 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.557/1.557, allocations: 173.4 MB / 200.8 MB, free: 9.324 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 1.252e-06/1.252e-06, allocations: 0 / 267.4 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.622e-05, allocations: 2.312 kB / 267.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004207/0.004233, allocations: 2.666 MB / 270 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.005507, allocations: 0.6622 MB / 270.7 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.005648, allocations: 7.938 kB / 270.7 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.005813, allocations: 39.58 kB / 270.7 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.006025, allocations: 99.12 kB / 270.8 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.006302, allocations: 99.73 kB / 270.9 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.006772, allocations: 350.3 kB / 271.3 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.006985, allocations: 78.03 kB / 271.4 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.007315, allocations: 191.6 kB / 271.5 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.007509, allocations: 99.69 kB / 271.6 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-05/0.007568, allocations: 28 kB / 271.7 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.482e-05/0.007622, allocations: 28 kB / 271.7 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.007697, allocations: 67.73 kB / 271.8 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.007829, allocations: 99.75 kB / 271.9 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.008236, allocations: 326.9 kB / 272.2 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.00824, allocations: 0 / 272.2 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008241, allocations: 0 / 272.2 MB, free: 1.859 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.008247, allocations: 0 / 272.2 MB, free: 1.859 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.001084/0.009332, allocations: 0.6243 MB / 272.8 MB, free: 1.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.009371, allocations: 12.03 kB / 272.8 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.009492, allocations: 52.75 kB / 272.9 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.009863, allocations: 220.1 kB / 273.1 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.00989, allocations: 16.88 kB / 273.1 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/0.009943, allocations: 28.38 kB / 273.1 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007942/0.01074, allocations: 358 kB / 273.5 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01075, allocations: 4.188 kB / 273.5 MB, free: 472 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.01078, allocations: 8.375 kB / 273.5 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.01079, allocations: 11.94 kB / 273.5 MB, free: 452 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.01123, allocations: 185.9 kB / 273.7 MB, free: 268 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.01305, allocations: 1.015 MB / 274.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.01354, allocations: 175 kB / 274.9 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.01396, allocations: 151.5 kB / 275 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.01399, allocations: 4 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.01402, allocations: 37.33 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.01402, allocations: 0 / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001457/0.01548, allocations: 400 kB / 275.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.01553, allocations: 51.41 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.01584, allocations: 301.3 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.01587, allocations: 33.7 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.01605, allocations: 230.9 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.958e-05/0.01612, allocations: 71.42 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.01621, allocations: 55.36 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003012/0.01652, allocations: 0.5117 MB / 276.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.01668, allocations: 55.98 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.01692, allocations: 149.5 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.01732, allocations: 224.3 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01732, allocations: 0 / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007588/0.01808, allocations: 328.8 kB / 277.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.0181, allocations: 4 kB / 277.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.01811, allocations: 4 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005208/0.01863, allocations: 95.75 kB / 277.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.01884, allocations: 55.91 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/0.02181, allocations: 2.348 MB / 279.9 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.02198, allocations: 27.88 kB / 280 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.022, allocations: 12 kB / 280 MB, free: 9.609 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.0002079/0.02221, allocations: 184.5 kB / 280.1 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.02228, allocations: 31.8 kB / 280.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.293e-05/0.02234, allocations: 25.8 kB / 280.2 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.02234, allocations: 4 kB / 280.2 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.02235, allocations: 0 / 280.2 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.02235, allocations: 0 / 280.2 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.02381, allocations: 0.6061 MB / 280.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.02381, allocations: 0 / 280.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.02397, allocations: 31.98 kB / 280.8 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000405/0.02438, allocations: 91.62 kB / 280.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.0244, allocations: 11.92 kB / 280.9 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.027, allocations: 2.313 MB / 283.3 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.027, allocations: 0 / 283.3 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.02789, allocations: 473.7 kB / 283.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.02793, allocations: 15.91 kB / 283.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.02796, allocations: 7.938 kB / 283.7 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.02816, allocations: 15.98 kB / 283.8 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.02819, allocations: 15.97 kB / 283.8 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.02821, allocations: 8.031 kB / 283.8 MB, free: 5.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.0284, allocations: 200.5 kB / 284 MB, free: 5.391 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0284, allocations: 0 / 284 MB, free: 5.391 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004428/0.02884, allocations: 83.78 kB / 284.1 MB, free: 5.309 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.0001473/0.02899, allocations: 95.25 kB / 284.2 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008544/0.02984, allocations: 400 kB / 284.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.02984, allocations: 0 / 284.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.03021, allocations: 269.3 kB / 284.8 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.03057, allocations: 40.25 kB / 284.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.03262, allocations: 0.6902 MB / 285.5 MB, free: 3.758 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.03277, allocations: 138.2 kB / 285.7 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.712e-05/0.03284, allocations: 17.95 kB / 285.7 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.03289, allocations: 20.5 kB / 285.7 MB, free: 3.562 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03289, allocations: 0 / 285.7 MB, free: 3.562 MB / 266.7 MB Notification: Performance of Templates: time 0.007414/0.04031, allocations: 2.745 MB / 288.5 MB, free: 0.8555 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] 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.725966252037324]