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.001274/0.001274, allocations: 111.1 kB / 20.44 MB, free: 1.172 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.001374/0.001374, allocations: 213.3 kB / 23.73 MB, free: 4.383 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.75 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 43.94 kB / 377.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2543, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004021/0.2583, allocations: 2.525 MB / 433.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2596, allocations: 0.6778 MB / 434.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.2597, allocations: 7.938 kB / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.2599, allocations: 39.58 kB / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.2601, allocations: 95.23 kB / 434.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.2603, allocations: 87.83 kB / 434.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.2607, allocations: 342.5 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.2609, allocations: 79.67 kB / 435 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.2612, allocations: 147.5 kB / 435.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.2614, allocations: 139.4 kB / 435.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/0.2614, allocations: 28 kB / 435.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.58e-05/0.2615, allocations: 28 kB / 435.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.2615, allocations: 59.77 kB / 435.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.2617, allocations: 119.5 kB / 435.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.2621, allocations: 322.7 kB / 435.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2621, allocations: 0 / 435.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2621, allocations: 0 / 435.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.2621, allocations: 0 / 435.8 MB, free: 1.949 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.001056/0.2631, allocations: 0.517 MB / 436.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2632, allocations: 8.031 kB / 436.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.414e-05/0.2633, allocations: 70.66 kB / 436.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.2633, allocations: 32.75 kB / 436.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.2637, allocations: 214 kB / 436.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.2637, allocations: 12.88 kB / 436.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.2638, allocations: 24.38 kB / 436.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.2644, allocations: 363.9 kB / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2644, allocations: 0 / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.2644, allocations: 16 kB / 437 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2644, allocations: 4 kB / 437 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.2649, allocations: 201.9 kB / 437.2 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.2666, allocations: 0.914 MB / 438.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.2671, allocations: 174.6 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.2675, allocations: 145 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2675, allocations: 11.83 kB / 438.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.2675, allocations: 38.56 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.2675, allocations: 0 / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001726/0.2693, allocations: 489.9 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.2693, allocations: 55.41 kB / 439 MB, free: 14.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.2696, allocations: 240.8 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.2696, allocations: 29.7 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.2697, allocations: 176.2 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.2698, allocations: 67.38 kB / 439.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.2699, allocations: 49.7 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.27, allocations: 330.8 kB / 439.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.2702, allocations: 71.97 kB / 440 MB, free: 13.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.2705, allocations: 135.5 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.2709, allocations: 209.6 kB / 440.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.2709, allocations: 3.938 kB / 440.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008482/0.2717, allocations: 342.2 kB / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2717, allocations: 14.7 kB / 440.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2717, allocations: 4 kB / 440.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.2721, allocations: 72.81 kB / 440.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.2723, allocations: 55.91 kB / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.2753, allocations: 1.894 MB / 442.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.2754, allocations: 27.78 kB / 442.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.2755, allocations: 15.98 kB / 442.7 MB, free: 10.58 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.000141/0.2756, allocations: 137.7 kB / 442.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.2756, allocations: 19.91 kB / 442.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.2757, allocations: 26.11 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2757, allocations: 8.062 kB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2757, allocations: 0 / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2757, allocations: 0 / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.2769, allocations: 0.5996 MB / 443.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2769, allocations: 7.922 kB / 443.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.277, allocations: 27.98 kB / 443.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002746/0.2773, allocations: 80.92 kB / 443.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.2773, allocations: 4 kB / 443.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.2798, allocations: 1.812 MB / 445.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2798, allocations: 4.062 kB / 445.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009304/0.2807, allocations: 462 kB / 445.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.2808, allocations: 15.89 kB / 445.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.2808, allocations: 8 kB / 445.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.281, allocations: 15.98 kB / 446 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.281, allocations: 15.97 kB / 446 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.281, allocations: 12 kB / 446 MB, free: 7.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.2812, allocations: 172.5 kB / 446.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2812, allocations: 0 / 446.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.2816, allocations: 75.83 kB / 446.2 MB, free: 6.906 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.001297/0.2829, allocations: 0.9812 MB / 447.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009193/0.2838, allocations: 362.5 kB / 447.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2838, allocations: 4 kB / 447.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.2841, allocations: 206.5 kB / 447.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.2845, allocations: 41.09 kB / 447.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/0.2901, allocations: 3.081 MB / 450.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.2903, allocations: 146.2 kB / 451 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.464e-05/0.2904, allocations: 13.95 kB / 451 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2905, allocations: 75.41 kB / 451.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2905, allocations: 4 kB / 451.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0371/0.3276, allocations: 6.085 MB / 457.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/12.98, allocations: 0 / 457.2 MB, free: 11.9 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.359022115007974]