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.00156/0.00156, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001849/0.001849, allocations: 210.5 kB / 21.46 MB, free: 1.648 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: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 67.89 kB / 373.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1052, allocations: 53.32 MB / 426.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004082/0.1093, allocations: 2.727 MB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1106, allocations: 0.7011 MB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1108, allocations: 7.938 kB / 430.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.1109, allocations: 47.5 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.1111, allocations: 87.25 kB / 430.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.1114, allocations: 99.81 kB / 430.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.1117, allocations: 330.6 kB / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.1119, allocations: 85.69 kB / 430.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.1122, allocations: 131.5 kB / 430.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.1124, allocations: 147.4 kB / 431.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.1124, allocations: 24 kB / 431.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.654e-05/0.1125, allocations: 28 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.1125, allocations: 63.77 kB / 431.2 MB, free: 480 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.1127, allocations: 143.3 kB / 431.3 MB, free: 336 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.113, allocations: 322.6 kB / 431.6 MB, free: 12 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.113, allocations: 4 kB / 431.6 MB, free: 8 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.113, allocations: 0 / 431.6 MB, free: 8 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.113, allocations: 0 / 431.6 MB, free: 8 kB / 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.1853/0.2983, allocations: 0.5846 MB / 432.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.2984, allocations: 11.16 kB / 432.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.086e-05/0.2984, allocations: 61.12 kB / 432.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.2985, allocations: 32.8 kB / 432.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.299, allocations: 270.7 kB / 432.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.299, allocations: 16.59 kB / 432.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-05/0.2991, allocations: 29.16 kB / 432.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.2996, allocations: 276.5 kB / 432.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.2996, allocations: 3.938 kB / 432.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.2997, allocations: 12.72 kB / 432.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.2997, allocations: 6.5 kB / 432.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.3001, allocations: 207.9 kB / 433.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.3016, allocations: 1.01 MB / 434.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.3021, allocations: 173.6 kB / 434.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.3024, allocations: 146.1 kB / 434.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3025, allocations: 1.281 kB / 434.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.3025, allocations: 44 kB / 434.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.3025, allocations: 0 / 434.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001562/0.3041, allocations: 0.5598 MB / 435.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.3041, allocations: 53.5 kB / 435.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.3043, allocations: 236 kB / 435.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3043, allocations: 30.08 kB / 435.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.3044, allocations: 179.4 kB / 435.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.445e-05/0.3044, allocations: 62.34 kB / 435.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.3045, allocations: 47.84 kB / 435.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.3045, allocations: 332.4 kB / 436 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3047, allocations: 73.92 kB / 436 MB, free: 9.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.3048, allocations: 132.1 kB / 436.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.3052, allocations: 207.7 kB / 436.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3052, allocations: 0 / 436.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007837/0.306, allocations: 350 kB / 436.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.306, allocations: 7.109 kB / 436.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.306, allocations: 2.844 kB / 436.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/0.3064, allocations: 80.62 kB / 436.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.3066, allocations: 49.48 kB / 436.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.309, allocations: 2.009 MB / 438.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.3092, allocations: 34.33 kB / 438.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.3092, allocations: 7.125 kB / 438.9 MB, free: 7.496 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.0001096/0.3094, allocations: 143.6 kB / 439 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.3094, allocations: 23.08 kB / 439.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.3095, allocations: 25.38 kB / 439.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3095, allocations: 2.375 kB / 439.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3095, allocations: 3.891 kB / 439.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3095, allocations: 2.188 kB / 439.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3105, allocations: 0.6585 MB / 439.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3105, allocations: 0 / 439.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.3107, allocations: 34.36 kB / 439.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.311, allocations: 79.61 kB / 439.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.311, allocations: 2.609 kB / 439.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.3129, allocations: 1.92 MB / 441.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3129, allocations: 0.75 kB / 441.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008477/0.3138, allocations: 466.8 kB / 442.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.3138, allocations: 101.1 kB / 442.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3139, allocations: 2.188 kB / 442.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.3141, allocations: 21.72 kB / 442.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.3141, allocations: 9.812 kB / 442.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3141, allocations: 11.8 kB / 442.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.3143, allocations: 165.8 kB / 442.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3143, allocations: 0 / 442.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.3147, allocations: 81.98 kB / 442.6 MB, free: 4.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.001044/0.3158, allocations: 0.9933 MB / 443.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008641/0.3166, allocations: 358.4 kB / 444 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.3166, allocations: 0 / 444 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.3169, allocations: 206.2 kB / 444.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3173, allocations: 35.52 kB / 444.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/0.3223, allocations: 3.078 MB / 447.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.3225, allocations: 0.7506 MB / 448 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.3226, allocations: 18.48 kB / 448.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.316e-05/0.3227, allocations: 76.39 kB / 448.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3227, allocations: 0 / 448.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.3608, allocations: 5.456 MB / 453.6 MB, free: 216 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.29, allocations: 13.3 kB / 453.6 MB, free: 204 kB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --stepSize=1.001e-05 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.824595279991627]