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.000884/0.000884, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.0009781/0.0009781, allocations: 179.2 kB / 18.21 MB, free: 5.68 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.271/1.271, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002231/0.0002232, allocations: 8 kB / 302.1 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07367/0.07391, allocations: 50.42 MB / 352.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002388/0.07632, allocations: 2.366 MB / 354.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.07736, allocations: 0.6545 MB / 355.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.07753, allocations: 7.938 kB / 355.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.07765, allocations: 31.77 kB / 355.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.07785, allocations: 79.38 kB / 355.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.07807, allocations: 83.86 kB / 355.7 MB, free: 444 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.07841, allocations: 326.4 kB / 356.1 MB, free: 116 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.07859, allocations: 90.27 kB / 356.1 MB, free: 24 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.07878, allocations: 111.5 kB / 356.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.07894, allocations: 123.4 kB / 356.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.07898, allocations: 12 kB / 356.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.696e-05/0.07903, allocations: 16 kB / 356.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.07908, allocations: 55.75 kB / 356.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.07921, allocations: 149 kB / 356.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.07942, allocations: 231.6 kB / 356.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.07943, allocations: 0 / 356.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.07944, allocations: 0 / 356.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.07945, allocations: 0 / 356.8 MB, free: 15.33 MB / 302.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.0008154/0.08027, allocations: 0.5576 MB / 357.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.08031, allocations: 11.97 kB / 357.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.08038, allocations: 28.66 kB / 357.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.08065, allocations: 259.8 kB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.08067, allocations: 16.94 kB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.08072, allocations: 24.38 kB / 357.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.08122, allocations: 287.9 kB / 358 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.08124, allocations: 0 / 358 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.08127, allocations: 12 kB / 358 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.08129, allocations: 8 kB / 358 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.08175, allocations: 206.1 kB / 358.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.08326, allocations: 1.023 MB / 359.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.08375, allocations: 190.5 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.08415, allocations: 164.7 kB / 359.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.08418, allocations: 7.984 kB / 359.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.08421, allocations: 38.5 kB / 359.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.08422, allocations: 0 / 359.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001795/0.08602, allocations: 0.6007 MB / 360.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.08606, allocations: 55.41 kB / 360.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.08628, allocations: 236.9 kB / 360.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.08631, allocations: 29.7 kB / 360.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/0.08641, allocations: 167.9 kB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.08647, allocations: 63.09 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.08651, allocations: 25.72 kB / 360.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.08661, allocations: 330.8 kB / 361.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.0868, allocations: 75.97 kB / 361.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.08702, allocations: 130.8 kB / 361.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.08741, allocations: 213.7 kB / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.08743, allocations: 4 kB / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000873/0.08831, allocations: 366 kB / 361.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.08833, allocations: 7.984 kB / 361.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.08834, allocations: 0 / 361.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.0887, allocations: 84.88 kB / 362 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.0889, allocations: 55.91 kB / 362 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.09153, allocations: 1.857 MB / 363.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.09173, allocations: 35.67 kB / 363.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.09175, allocations: 8 kB / 363.9 MB, free: 7.746 MB / 302.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.0001099/0.09187, allocations: 133.8 kB / 364.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.09193, allocations: 31.66 kB / 364.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.09198, allocations: 26.17 kB / 364.1 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.09199, allocations: 4 kB / 364.1 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.092, allocations: 0 / 364.1 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.09201, allocations: 0 / 364.1 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.09314, allocations: 0.6695 MB / 364.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.09316, allocations: 0 / 364.8 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.09332, allocations: 35.92 kB / 364.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002745/0.0936, allocations: 88.86 kB / 364.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.09363, allocations: 4 kB / 364.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.0958, allocations: 1.761 MB / 366.7 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.09581, allocations: 3.938 kB / 366.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009496/0.09676, allocations: 475.8 kB / 367.2 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.09684, allocations: 108.7 kB / 367.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.09687, allocations: 0 / 367.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.09709, allocations: 23.98 kB / 367.3 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.09713, allocations: 16.05 kB / 367.3 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.09714, allocations: 8 kB / 367.3 MB, free: 4.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.09729, allocations: 164.5 kB / 367.5 MB, free: 3.984 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.0973, allocations: 0 / 367.5 MB, free: 3.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.09772, allocations: 75.84 kB / 367.5 MB, free: 3.91 MB / 302.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 9.697e-05/0.09782, allocations: 112.8 kB / 367.7 MB, free: 3.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008795/0.09871, allocations: 378.5 kB / 368 MB, free: 3.406 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.09872, allocations: 0 / 368 MB, free: 3.406 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.09903, allocations: 217.2 kB / 368.2 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.09943, allocations: 43.33 kB / 368.3 MB, free: 3.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.1019, allocations: 1.099 MB / 369.4 MB, free: 2.004 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1021, allocations: 0.7481 MB / 370.1 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.1022, allocations: 23.44 kB / 370.1 MB, free: 1.211 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1022, allocations: 0 / 370.1 MB, free: 1.211 MB / 302.1 MB Notification: Performance of Templates: time 0.1377/0.2399, allocations: 3.681 MB / 373.8 MB, free: 23.75 MB / 302.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