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.001753/0.001753, allocations: 102 kB / 21.93 MB, free: 5.203 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.001925/0.001925, allocations: 202.2 kB / 25.21 MB, free: 3.145 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.586/1.586, allocations: 207.7 MB / 236.1 MB, free: 9.773 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.002072/0.002072, allocations: 51.94 kB / 348.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2871, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003493/0.2906, allocations: 2.497 MB / 400.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2918, allocations: 0.6843 MB / 400.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.292, allocations: 5.5 kB / 400.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2921, allocations: 46.81 kB / 400.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.2923, allocations: 93.22 kB / 401 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.2926, allocations: 95.17 kB / 401 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.293, allocations: 340 kB / 401.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.2932, allocations: 84.8 kB / 401.5 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.2934, allocations: 129.3 kB / 401.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.2936, allocations: 128.6 kB / 401.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.2936, allocations: 27.16 kB / 401.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.917e-05/0.2937, allocations: 27.5 kB / 401.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.2937, allocations: 63.25 kB / 401.8 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.2939, allocations: 125.9 kB / 402 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.2942, allocations: 317.2 kB / 402.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2942, allocations: 4 kB / 402.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2942, allocations: 0.9062 kB / 402.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2943, allocations: 3.938 kB / 402.3 MB, free: 6.508 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.0009169/0.2952, allocations: 0.5185 MB / 402.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2952, allocations: 14.02 kB / 402.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.2953, allocations: 31.56 kB / 402.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.2956, allocations: 204.5 kB / 403 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.2957, allocations: 19.19 kB / 403.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.2957, allocations: 28.56 kB / 403.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.2962, allocations: 325.6 kB / 403.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2962, allocations: 3.984 kB / 403.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.2962, allocations: 10.91 kB / 403.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.2962, allocations: 6.406 kB / 403.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.2967, allocations: 212.2 kB / 403.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.298, allocations: 0.78 MB / 404.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.2984, allocations: 175.9 kB / 404.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.2988, allocations: 144.3 kB / 404.7 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.2988, allocations: 3.703 kB / 404.7 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.2988, allocations: 35.97 kB / 404.8 MB, free: 4.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/0.2988, allocations: 1.469 kB / 404.8 MB, free: 4.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001495/0.3003, allocations: 468.2 kB / 405.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.3004, allocations: 54.09 kB / 405.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.3006, allocations: 216.9 kB / 405.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.3006, allocations: 31.14 kB / 405.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.3007, allocations: 177.9 kB / 405.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.3007, allocations: 69.67 kB / 405.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.3008, allocations: 45.75 kB / 405.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.3008, allocations: 330.1 kB / 406.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.301, allocations: 76.5 kB / 406.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.3011, allocations: 121.9 kB / 406.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.3014, allocations: 189.3 kB / 406.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3014, allocations: 4 kB / 406.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006737/0.3021, allocations: 332.4 kB / 406.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3021, allocations: 9.531 kB / 406.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3021, allocations: 2.75 kB / 406.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/0.3026, allocations: 106 kB / 406.9 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.3028, allocations: 56.91 kB / 407 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.3047, allocations: 1.785 MB / 408.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.3048, allocations: 25.47 kB / 408.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.3049, allocations: 7.578 kB / 408.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001489/0.305, allocations: 157.5 kB / 409 MB, free: 1.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001109/0.3051, allocations: 99.62 kB / 409.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001805/0.3053, allocations: 171.7 kB / 409.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.3053, allocations: 1.594 kB / 409.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003609/0.3057, allocations: 253.8 kB / 409.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3057, allocations: 5.5 kB / 409.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.3057, allocations: 1.375 kB / 409.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.3058, allocations: 43.55 kB / 409.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.306, allocations: 48.86 kB / 409.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009611/0.3069, allocations: 1.594 MB / 411.2 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.307, allocations: 17.95 kB / 411.2 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3071, allocations: 6.812 kB / 411.2 MB, free: 92 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.0001575/0.3072, allocations: 196.9 kB / 411.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.3073, allocations: 22.42 kB / 411.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.3073, allocations: 24.22 kB / 411.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3073, allocations: 3.031 kB / 411.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3073, allocations: 4.062 kB / 411.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3073, allocations: 1.312 kB / 411.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009823/0.3083, allocations: 0.5323 MB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3083, allocations: 0 / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.3085, allocations: 37.69 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002261/0.3087, allocations: 66.09 kB / 412.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.3087, allocations: 5.312 kB / 412.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.3109, allocations: 1.73 MB / 413.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3109, allocations: 3.938 kB / 413.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007685/0.3117, allocations: 414.5 kB / 414.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.3118, allocations: 23.56 kB / 414.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.3118, allocations: 1.156 kB / 414.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.312, allocations: 18.44 kB / 414.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.312, allocations: 28.25 kB / 414.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.312, allocations: 4.469 kB / 414.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3122, allocations: 153.7 kB / 414.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3122, allocations: 1.375 kB / 414.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007078/0.3129, allocations: 136.2 kB / 414.6 MB, free: 13.57 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.0002899/0.3132, allocations: 99.41 kB / 414.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.3145, allocations: 0.527 MB / 415.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3145, allocations: 0 / 415.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.3149, allocations: 211.9 kB / 415.4 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.3153, allocations: 31.3 kB / 415.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3174, allocations: 0.7583 MB / 416.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.3176, allocations: 149.7 kB / 416.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.3177, allocations: 18.88 kB / 416.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3177, allocations: 3.938 kB / 416.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Templates: time 0.007932/0.3256, allocations: 3.808 MB / 420.2 MB, free: 10.38 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/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: 7.6469805939123034]