Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 230.6 MB / 254.1 MB, free: 15.11 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 47.92 kB / 373.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1154, allocations: 53.34 MB / 426.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004258/0.1196, allocations: 2.72 MB / 429.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1212, allocations: 0.7089 MB / 430.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1213, allocations: 4 kB / 430.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.1215, allocations: 51.5 kB / 430.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.1217, allocations: 83.25 kB / 430.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.122, allocations: 99.75 kB / 430.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.1224, allocations: 334.6 kB / 430.8 MB, free: 240 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.1226, allocations: 77.7 kB / 430.9 MB, free: 156 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.1229, allocations: 147.5 kB / 431.1 MB, free: 8 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1964/0.3193, allocations: 133.9 kB / 431.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.166e-05/0.3194, allocations: 27.06 kB / 431.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.3195, allocations: 27.03 kB / 431.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.3195, allocations: 63.36 kB / 431.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.3197, allocations: 144.9 kB / 431.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.32, allocations: 318.2 kB / 431.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.32, allocations: 0.625 kB / 431.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.32, allocations: 0 / 431.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.32, allocations: 1.031 kB / 431.8 MB, free: 8.242 MB / 350.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.0009452/0.321, allocations: 0.5961 MB / 432.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.321, allocations: 12.53 kB / 432.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.3211, allocations: 36.34 kB / 432.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.3214, allocations: 259.3 kB / 432.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.3214, allocations: 17.75 kB / 432.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.3214, allocations: 26.72 kB / 432.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.3219, allocations: 280.8 kB / 433 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3219, allocations: 3.938 kB / 433 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.322, allocations: 12.47 kB / 433 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.322, allocations: 8.656 kB / 433 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.3224, allocations: 205.1 kB / 433.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3237, allocations: 1.012 MB / 434.2 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.3242, allocations: 174.9 kB / 434.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.3246, allocations: 147.4 kB / 434.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3247, allocations: 6.25 kB / 434.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.3247, allocations: 34.34 kB / 434.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.964e-06/0.3247, allocations: 0 / 434.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002085/0.3268, allocations: 0.5595 MB / 435.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.3268, allocations: 56.38 kB / 435.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.327, allocations: 230.8 kB / 435.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.3271, allocations: 37.61 kB / 435.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3272, allocations: 180.5 kB / 435.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.3272, allocations: 63.66 kB / 435.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.3273, allocations: 47.75 kB / 435.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.953e-05/0.3273, allocations: 332.1 kB / 436 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3275, allocations: 67.03 kB / 436.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.3278, allocations: 140.9 kB / 436.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.3281, allocations: 202.3 kB / 436.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3281, allocations: 2.156 kB / 436.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008829/0.329, allocations: 358.2 kB / 436.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.329, allocations: 6.516 kB / 436.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.329, allocations: 1.438 kB / 436.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.3294, allocations: 78.95 kB / 436.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.3296, allocations: 49.38 kB / 436.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.3325, allocations: 2.005 MB / 438.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.3327, allocations: 28.81 kB / 439 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3327, allocations: 8.656 kB / 439 MB, free: 4.316 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.0001132/0.3328, allocations: 152.9 kB / 439.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.3328, allocations: 21.92 kB / 439.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.3329, allocations: 25.94 kB / 439.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3329, allocations: 2.781 kB / 439.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3329, allocations: 2.281 kB / 439.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3329, allocations: 1.453 kB / 439.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.334, allocations: 0.6543 MB / 439.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.334, allocations: 0.6094 kB / 439.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.3342, allocations: 34.3 kB / 439.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002707/0.3344, allocations: 75.33 kB / 439.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3345, allocations: 1.859 kB / 439.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.3365, allocations: 1.925 MB / 441.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3366, allocations: 1.562 kB / 441.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009208/0.3375, allocations: 455.2 kB / 442.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.3375, allocations: 100.9 kB / 442.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.3375, allocations: 9.766 kB / 442.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.3378, allocations: 17.88 kB / 442.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.3378, allocations: 13.94 kB / 442.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3378, allocations: 9.281 kB / 442.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.338, allocations: 173.9 kB / 442.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.338, allocations: 0 / 442.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.3384, allocations: 78.08 kB / 442.7 MB, free: 1.762 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.0001442/0.3386, allocations: 102.5 kB / 442.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3396, allocations: 362.3 kB / 443.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3396, allocations: 0 / 443.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.3399, allocations: 212.1 kB / 443.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3403, allocations: 42.94 kB / 443.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.3428, allocations: 0.8642 MB / 444.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.343, allocations: 0.7497 MB / 445 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.385e-05/0.3431, allocations: 21.45 kB / 445 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.3431, allocations: 18.66 kB / 445.1 MB, free: 280 kB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3431, allocations: 0 / 445.1 MB, free: 280 kB / 350.1 MB Notification: Performance of Templates: time 0.007721/0.3508, allocations: 2.961 MB / 448 MB, free: 80 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.709618669003248]