Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001402/0.001402, allocations: 85.94 kB / 20.68 MB, free: 1.035 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.001427/0.001427, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.1 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.211e-05, allocations: 2.281 kB / 325.1 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003846/0.003868, allocations: 2.544 MB / 327.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.005283, allocations: 0.6578 MB / 328.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.005437, allocations: 4.312 kB / 328.3 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.005606, allocations: 47.48 kB / 328.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.00583, allocations: 100.7 kB / 328.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.006042, allocations: 78.66 kB / 328.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.006447, allocations: 355.3 kB / 328.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.006645, allocations: 71.17 kB / 328.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.007035, allocations: 203.4 kB / 329.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.00724, allocations: 107.8 kB / 329.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.007294, allocations: 27.53 kB / 329.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.775e-05/0.007352, allocations: 27.69 kB / 329.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.007423, allocations: 62.22 kB / 329.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.007564, allocations: 108.5 kB / 329.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.008006, allocations: 332.7 kB / 329.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.008009, allocations: 0 / 329.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00801, allocations: 0 / 329.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.008021, allocations: 0 / 329.8 MB, free: 13.58 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009963/0.009017, allocations: 0.5097 MB / 330.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.009058, allocations: 12.98 kB / 330.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.191e-05/0.00914, allocations: 37.27 kB / 330.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.009549, allocations: 211.3 kB / 330.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.009576, allocations: 19.47 kB / 330.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.009628, allocations: 25.12 kB / 330.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.01015, allocations: 341.9 kB / 330.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.01016, allocations: 192 / 330.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.0102, allocations: 15.81 kB / 330.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.01021, allocations: 17.72 kB / 330.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.01055, allocations: 184.1 kB / 331.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.01213, allocations: 0.7823 MB / 331.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.01252, allocations: 163 kB / 332.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.0129, allocations: 140.3 kB / 332.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.01292, allocations: 2.125 kB / 332.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/0.01298, allocations: 40.69 kB / 332.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 2.535e-06/0.01299, allocations: 1.094 kB / 332.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001442/0.01443, allocations: 348 kB / 332.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.01449, allocations: 53.53 kB / 332.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.0148, allocations: 225.7 kB / 332.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.01484, allocations: 35.86 kB / 332.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.015, allocations: 182.5 kB / 333.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.01507, allocations: 72.77 kB / 333.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/0.01516, allocations: 46.98 kB / 333.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.01532, allocations: 332.2 kB / 333.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.01543, allocations: 56.97 kB / 333.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.0156, allocations: 114.2 kB / 333.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.01589, allocations: 172.5 kB / 333.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.01589, allocations: 0 / 333.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000625/0.01651, allocations: 295.1 kB / 334.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.01653, allocations: 6.594 kB / 334.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01654, allocations: 5.469 kB / 334.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003903/0.01693, allocations: 69.48 kB / 334.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.01713, allocations: 55.19 kB / 334.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.01963, allocations: 1.787 MB / 336.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.01983, allocations: 23.5 kB / 336.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.01985, allocations: 11.78 kB / 336.1 MB, free: 8.594 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.02001, allocations: 141.6 kB / 336.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.02007, allocations: 26.94 kB / 336.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.02012, allocations: 25.61 kB / 336.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.02012, allocations: 2.75 kB / 336.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.02013, allocations: 0 / 336.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.02013, allocations: 0 / 336.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.02103, allocations: 0.5202 MB / 336.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.02103, allocations: 0 / 336.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.02119, allocations: 33.45 kB / 336.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002898/0.02148, allocations: 75.47 kB / 336.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.02149, allocations: 1.906 kB / 336.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.02388, allocations: 1.774 MB / 338.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02388, allocations: 0 / 338.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007381/0.02462, allocations: 396.4 kB / 339.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.02467, allocations: 21.77 kB / 339.1 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.0247, allocations: 9.359 kB / 339.1 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.0249, allocations: 19.02 kB / 339.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.02497, allocations: 17.56 kB / 339.1 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.02499, allocations: 9.406 kB / 339.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.02516, allocations: 149.3 kB / 339.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02516, allocations: 0 / 339.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004935/0.02566, allocations: 86.34 kB / 339.4 MB, free: 5.887 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: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001801/0.02584, allocations: 98.44 kB / 339.5 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006087/0.02644, allocations: 290.2 kB / 339.8 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02645, allocations: 1.125 kB / 339.8 MB, free: 5.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.02675, allocations: 194.4 kB / 339.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.02714, allocations: 41.83 kB / 340 MB, free: 5.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.02828, allocations: 0.5402 MB / 340.5 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.02843, allocations: 150.8 kB / 340.7 MB, free: 4.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.757e-05/0.02851, allocations: 17.95 kB / 340.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.02856, allocations: 20.5 kB / 340.7 MB, free: 4.777 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.02856, allocations: 4 kB / 340.7 MB, free: 4.773 MB / 302.1 MB Notification: Performance of Templates: time 0.007684/0.03624, allocations: 2.915 MB / 343.6 MB, free: 1.895 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.5984584130346775]