Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001734/0.001734, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.00171/0.00171, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 207.7 MB / 235.3 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 54.59 kB / 347.7 MB, free: 9.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3229, allocations: 49.16 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003387/0.3263, allocations: 2.49 MB / 399.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3275, allocations: 0.6838 MB / 400.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.3277, allocations: 5.062 kB / 400.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.3278, allocations: 47.61 kB / 400.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.328, allocations: 88 kB / 400.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.3283, allocations: 100.6 kB / 400.3 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.3287, allocations: 340.5 kB / 400.6 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.3289, allocations: 83.3 kB / 400.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.3291, allocations: 131.1 kB / 400.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.3293, allocations: 122.5 kB / 401 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.3293, allocations: 28.16 kB / 401 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.701e-05/0.3294, allocations: 27.12 kB / 401 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.3294, allocations: 71.59 kB / 401.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.3296, allocations: 113.5 kB / 401.2 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.33, allocations: 321.6 kB / 401.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.33, allocations: 5.156 kB / 401.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.33, allocations: 0 / 401.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.33, allocations: 0 / 401.5 MB, free: 6.523 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.00091/0.3309, allocations: 0.5229 MB / 402 MB, free: 6.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.331, allocations: 12.98 kB / 402 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.331, allocations: 33.22 kB / 402.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.3313, allocations: 201.9 kB / 402.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3314, allocations: 19.16 kB / 402.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.3314, allocations: 27.73 kB / 402.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.3319, allocations: 327 kB / 402.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3319, allocations: 0.75 kB / 402.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.3319, allocations: 10.5 kB / 402.6 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.3319, allocations: 5.562 kB / 402.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.3324, allocations: 217.5 kB / 402.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.3337, allocations: 0.7755 MB / 403.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.3341, allocations: 180.2 kB / 403.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.3345, allocations: 136.9 kB / 404 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3345, allocations: 6.734 kB / 404 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3345, allocations: 33.47 kB / 404 MB, free: 4.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.3345, allocations: 4 kB / 404 MB, free: 4.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001542/0.3361, allocations: 465.5 kB / 404.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.3361, allocations: 54.06 kB / 404.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.3363, allocations: 220.6 kB / 404.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3363, allocations: 31.64 kB / 404.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.3364, allocations: 177.2 kB / 404.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.3365, allocations: 70.06 kB / 405 MB, free: 4.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.3365, allocations: 45.31 kB / 405 MB, free: 4.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.3366, allocations: 330.4 kB / 405.4 MB, free: 4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3367, allocations: 77.03 kB / 405.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.3369, allocations: 125.5 kB / 405.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.3372, allocations: 189.2 kB / 405.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3372, allocations: 4 kB / 405.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007048/0.3379, allocations: 333.2 kB / 406.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3379, allocations: 9.531 kB / 406.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3379, allocations: 1.375 kB / 406.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004853/0.3384, allocations: 110 kB / 406.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3386, allocations: 56.38 kB / 406.2 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.3405, allocations: 1.781 MB / 408 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.3407, allocations: 25.59 kB / 408 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.3407, allocations: 12.7 kB / 408.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001728/0.3409, allocations: 156 kB / 408.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001142/0.341, allocations: 104.5 kB / 408.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000192/0.3412, allocations: 167.6 kB / 408.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.3412, allocations: 0 / 408.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003823/0.3416, allocations: 255 kB / 408.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.3416, allocations: 5.5 kB / 408.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.3416, allocations: 1.375 kB / 408.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.3417, allocations: 43.59 kB / 408.8 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.3419, allocations: 48.77 kB / 408.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.3429, allocations: 1.595 MB / 410.4 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.343, allocations: 16.39 kB / 410.4 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.343, allocations: 7.406 kB / 410.4 MB, free: 100 kB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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.0001801/0.3432, allocations: 197.2 kB / 410.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.3433, allocations: 22.41 kB / 410.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.972e-05/0.3433, allocations: 25.31 kB / 410.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3433, allocations: 1.312 kB / 410.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3433, allocations: 9.219 kB / 410.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3433, allocations: 0.8906 kB / 410.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3444, allocations: 0.5321 MB / 411.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3444, allocations: 0 / 411.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3446, allocations: 29.89 kB / 411.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002539/0.3448, allocations: 69.48 kB / 411.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.3448, allocations: 5.875 kB / 411.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.3475, allocations: 1.722 MB / 413 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.3475, allocations: 9.594 kB / 413.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.3484, allocations: 413 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.3485, allocations: 23.22 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.3485, allocations: 2.266 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.3487, allocations: 22.64 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.3488, allocations: 19.56 kB / 413.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3488, allocations: 5.172 kB / 413.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002295/0.349, allocations: 161.5 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.349, allocations: 0 / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000746/0.3497, allocations: 137.4 kB / 413.8 MB, free: 13.58 MB / 334.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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001887/0.3499, allocations: 95.36 kB / 413.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.3511, allocations: 0.5215 MB / 414.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3511, allocations: 1.406 kB / 414.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.3515, allocations: 216.3 kB / 414.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3519, allocations: 31 kB / 414.7 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.3538, allocations: 0.7363 MB / 415.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.354, allocations: 145.7 kB / 415.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.3542, allocations: 20.03 kB / 415.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.3542, allocations: 21.53 kB / 415.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3542, allocations: 0 / 415.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Templates: time 0.009154/0.3634, allocations: 3.349 MB / 419 MB, free: 10.69 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.805926505476236]