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.001267/0.001267, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001467/0.001467, allocations: 212.8 kB / 24.52 MB, free: 3.914 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.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001451/0.001451, allocations: 47.91 kB / 378.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.27, allocations: 53.37 MB / 431.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004095/0.2741, allocations: 2.531 MB / 434.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.2754, allocations: 0.6662 MB / 435.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.2755, allocations: 7.938 kB / 435.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.2757, allocations: 43.56 kB / 435.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.2759, allocations: 95.25 kB / 435.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.2762, allocations: 91.81 kB / 435.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.2766, allocations: 334.5 kB / 435.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.2768, allocations: 85.97 kB / 435.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.2771, allocations: 139.5 kB / 435.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.2773, allocations: 139.4 kB / 436 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.2773, allocations: 28 kB / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.276e-05/0.2774, allocations: 28 kB / 436.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.2774, allocations: 67.75 kB / 436.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.2776, allocations: 119.5 kB / 436.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.2779, allocations: 318.7 kB / 436.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2779, allocations: 3.938 kB / 436.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2779, allocations: 0 / 436.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.278, allocations: 3.938 kB / 436.6 MB, free: 1.969 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.001016/0.279, allocations: 0.5248 MB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.279, allocations: 8.031 kB / 437.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.887e-05/0.279, allocations: 8.688 kB / 437.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.049e-05/0.2791, allocations: 62.73 kB / 437.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.2792, allocations: 32.75 kB / 437.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.2796, allocations: 210 kB / 437.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.2796, allocations: 20.88 kB / 437.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.2796, allocations: 28.31 kB / 437.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.2802, allocations: 347.8 kB / 437.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2802, allocations: 0 / 437.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.2802, allocations: 12 kB / 437.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.2803, allocations: 11.98 kB / 437.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.2807, allocations: 205.9 kB / 438 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.2823, allocations: 0.9101 MB / 438.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.2828, allocations: 174.5 kB / 439.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.2832, allocations: 149.1 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2832, allocations: 7.906 kB / 439.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2832, allocations: 30.56 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.273e-06/0.2832, allocations: 0 / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001646/0.2849, allocations: 0.489 MB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2849, allocations: 55.41 kB / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.2852, allocations: 228.9 kB / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2852, allocations: 37.69 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.2853, allocations: 176.2 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.2854, allocations: 67.45 kB / 440.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.86e-05/0.2854, allocations: 49.66 kB / 440.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2856, allocations: 326.8 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.2858, allocations: 71.95 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.286, allocations: 135.5 kB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.2864, allocations: 206.6 kB / 441.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2864, allocations: 0 / 441.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008618/0.2873, allocations: 356.9 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2873, allocations: 4 kB / 441.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2873, allocations: 4 kB / 441.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/0.2876, allocations: 80.86 kB / 441.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.2878, allocations: 51.91 kB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/0.2907, allocations: 1.879 MB / 443.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.2909, allocations: 43.77 kB / 443.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.2909, allocations: 12 kB / 443.5 MB, free: 10.6 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.0001386/0.291, allocations: 137.7 kB / 443.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.2911, allocations: 19.86 kB / 443.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.2911, allocations: 34.11 kB / 443.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2911, allocations: 48 / 443.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2911, allocations: 3.984 kB / 443.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2911, allocations: 0 / 443.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.2923, allocations: 0.6074 MB / 444.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2923, allocations: 4 kB / 444.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.2924, allocations: 27.98 kB / 444.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002691/0.2927, allocations: 72.8 kB / 444.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2927, allocations: 8 kB / 444.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.2952, allocations: 1.805 MB / 446.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2952, allocations: 32 / 446.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009381/0.2961, allocations: 465.5 kB / 446.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.2961, allocations: 27.81 kB / 446.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.2962, allocations: 4 kB / 446.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.2964, allocations: 23.92 kB / 446.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.2964, allocations: 15.91 kB / 446.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2964, allocations: 4 kB / 446.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.2966, allocations: 168.5 kB / 446.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2966, allocations: 0 / 446.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004172/0.297, allocations: 79.95 kB / 447 MB, free: 6.93 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.001258/0.2982, allocations: 0.9824 MB / 448 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009159/0.2992, allocations: 358.5 kB / 448.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2992, allocations: 320 / 448.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.2995, allocations: 210.5 kB / 448.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2999, allocations: 36.64 kB / 448.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005471/0.3053, allocations: 3.087 MB / 451.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.3055, allocations: 138.2 kB / 451.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.053e-05/0.3056, allocations: 21.94 kB / 451.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.3057, allocations: 75.36 kB / 451.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3057, allocations: 3.938 kB / 451.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.3389, allocations: 5.689 MB / 457.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/12.99, allocations: 8.141 kB / 457.6 MB, free: 12.33 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.357777726021595]