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.001266/0.001266, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001483/0.001483, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 8.004 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 43.92 kB / 378.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2549, allocations: 53.37 MB / 432 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004056/0.2589, allocations: 2.737 MB / 434.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.2601, allocations: 0.7128 MB / 435.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.2603, allocations: 7.938 kB / 435.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.2604, allocations: 43.58 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.2606, allocations: 87.25 kB / 435.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.2609, allocations: 91.81 kB / 435.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.2612, allocations: 342.4 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.2614, allocations: 81.98 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.2617, allocations: 143.5 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.2619, allocations: 139.4 kB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.262, allocations: 28 kB / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.514e-05/0.262, allocations: 24 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.2621, allocations: 63.7 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.2622, allocations: 147.3 kB / 436.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.2626, allocations: 315.1 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2626, allocations: 4 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2626, allocations: 0 / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.2626, allocations: 0 / 436.9 MB, free: 1.879 MB / 334.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.0009821/0.2636, allocations: 0.5208 MB / 437.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2636, allocations: 12.03 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.159e-05/0.2636, allocations: 8.688 kB / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.041e-05/0.2637, allocations: 62.72 kB / 437.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.2638, allocations: 36.75 kB / 437.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.2641, allocations: 206 kB / 437.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.2642, allocations: 20.88 kB / 437.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.2642, allocations: 24.38 kB / 437.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.2647, allocations: 282.6 kB / 438.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2647, allocations: 0 / 438.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.2647, allocations: 12 kB / 438.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2647, allocations: 8 kB / 438.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.2652, allocations: 205.9 kB / 438.3 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.2668, allocations: 0.9608 MB / 439.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.2673, allocations: 186.5 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.2677, allocations: 145.1 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.2677, allocations: 4 kB / 439.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.2677, allocations: 42.47 kB / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.213e-06/0.2677, allocations: 0 / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001714/0.2694, allocations: 492.8 kB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.2695, allocations: 55.41 kB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.2697, allocations: 228.9 kB / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.2698, allocations: 29.7 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.2699, allocations: 180.1 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.2699, allocations: 67.47 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-05/0.27, allocations: 49.66 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2702, allocations: 330.8 kB / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.2704, allocations: 67.95 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.2706, allocations: 135.5 kB / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.271, allocations: 212.2 kB / 441.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.271, allocations: 0 / 441.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008568/0.2719, allocations: 355.8 kB / 441.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2719, allocations: 8 kB / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2719, allocations: 0 / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/0.2722, allocations: 76.73 kB / 441.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.2724, allocations: 52.03 kB / 441.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.2754, allocations: 1.902 MB / 443.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.2756, allocations: 35.77 kB / 443.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.2756, allocations: 12 kB / 443.8 MB, free: 10.53 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.0001455/0.2757, allocations: 129.8 kB / 444 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.2758, allocations: 23.86 kB / 444 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.2758, allocations: 34.11 kB / 444 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2758, allocations: 4 kB / 444 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2758, allocations: 3.938 kB / 444 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2758, allocations: 0 / 444 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.277, allocations: 0.623 MB / 444.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.277, allocations: 0 / 444.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.2772, allocations: 35.98 kB / 444.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.2775, allocations: 72.8 kB / 444.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.2775, allocations: 4 kB / 444.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.28, allocations: 1.82 MB / 446.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.28, allocations: 4.062 kB / 446.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009675/0.281, allocations: 455.9 kB / 447 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.281, allocations: 23.83 kB / 447.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.281, allocations: 7.984 kB / 447.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.2812, allocations: 24.05 kB / 447.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.2813, allocations: 15.86 kB / 447.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.2813, allocations: 8 kB / 447.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.2815, allocations: 168.5 kB / 447.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2815, allocations: 0 / 447.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004406/0.2819, allocations: 71.89 kB / 447.4 MB, free: 6.832 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.001282/0.2832, allocations: 0.9959 MB / 448.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009347/0.2841, allocations: 354.7 kB / 448.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2841, allocations: 4.125 kB / 448.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.2844, allocations: 198.6 kB / 448.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.2848, allocations: 48.5 kB / 448.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.2905, allocations: 3.091 MB / 452 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.2909, allocations: 0.748 MB / 452.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.68e-05/0.291, allocations: 21.95 kB / 452.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.2911, allocations: 75.41 kB / 452.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2911, allocations: 0 / 452.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.322, allocations: 5.657 MB / 458.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.78, allocations: 18.83 kB / 458.5 MB, free: 11.59 MB / 366.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --stepSize=1.001e-05 --timeout=50 --tolerance=0.0001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/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: 15.119265832996462]