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.0008467/0.0008467, allocations: 83.69 kB / 20.68 MB, free: 3.883 MB / 18.57 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.0008693/0.0008693, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8667/0.8667, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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 1.422e-06/1.422e-06, allocations: 0 / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.391e-05, allocations: 4.672 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002577/0.002591, allocations: 2.539 MB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.003874, allocations: 0.6738 MB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.003981, allocations: 11.94 kB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.004096, allocations: 43.56 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.004224, allocations: 99.11 kB / 328 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.004424, allocations: 87.81 kB / 328.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.004667, allocations: 358.3 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.004815, allocations: 70.05 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.005082, allocations: 203.5 kB / 328.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.005187, allocations: 95.69 kB / 328.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.005215, allocations: 28 kB / 328.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.563e-05/0.00524, allocations: 28 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.005274, allocations: 67.69 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.005338, allocations: 99.75 kB / 329 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.005564, allocations: 326.9 kB / 329.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.005566, allocations: 0 / 329.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005566, allocations: 0 / 329.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005571, allocations: 4 kB / 329.3 MB, free: 11.15 MB / 298.7 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.0006219/0.006192, allocations: 0.5198 MB / 329.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.006226, allocations: 11.97 kB / 329.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.00627, allocations: 58.73 kB / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.006313, allocations: 32.75 kB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.006544, allocations: 209.2 kB / 330.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.006557, allocations: 20.88 kB / 330.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.006589, allocations: 24.38 kB / 330.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.006933, allocations: 356.4 kB / 330.5 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.006941, allocations: 4.125 kB / 330.5 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.006959, allocations: 12.12 kB / 330.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.006966, allocations: 11.98 kB / 330.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.007221, allocations: 201.9 kB / 330.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009316/0.008153, allocations: 0.903 MB / 331.7 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.008438, allocations: 178.4 kB / 331.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.008667, allocations: 152.8 kB / 332 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.008684, allocations: 0 / 332 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.008704, allocations: 42.5 kB / 332 MB, free: 8.258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.008705, allocations: 0 / 332 MB, free: 8.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008772/0.009582, allocations: 488.9 kB / 332.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.009608, allocations: 59.34 kB / 332.6 MB, free: 7.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.009764, allocations: 241.7 kB / 332.8 MB, free: 7.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.009777, allocations: 25.7 kB / 332.8 MB, free: 7.426 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.009851, allocations: 176.2 kB / 333 MB, free: 7.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.009883, allocations: 63.42 kB / 333.1 MB, free: 7.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.009932, allocations: 45.7 kB / 333.1 MB, free: 7.137 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.01, allocations: 334.8 kB / 333.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.0101, allocations: 71.95 kB / 333.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.01022, allocations: 126.8 kB / 333.6 MB, free: 6.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.01043, allocations: 206.6 kB / 333.8 MB, free: 6.355 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01044, allocations: 0 / 333.8 MB, free: 6.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000448/0.01088, allocations: 361.1 kB / 334.2 MB, free: 5.996 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.0109, allocations: 4 kB / 334.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.0109, allocations: 4 kB / 334.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.01112, allocations: 72.8 kB / 334.3 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.01122, allocations: 55.98 kB / 334.3 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.01299, allocations: 1.89 MB / 336.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.1e-05/0.01308, allocations: 31.86 kB / 336.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.01309, allocations: 12 kB / 336.3 MB, free: 3.801 MB / 298.7 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 8.882e-05/0.01318, allocations: 141.7 kB / 336.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.0132, allocations: 19.97 kB / 336.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.01323, allocations: 30.11 kB / 336.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.01323, allocations: 0 / 336.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.01323, allocations: 4 kB / 336.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01324, allocations: 4.031 kB / 336.4 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/0.01386, allocations: 0.5957 MB / 337 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01386, allocations: 0 / 337 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.01394, allocations: 31.92 kB / 337.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.01409, allocations: 84.73 kB / 337.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.0141, allocations: 0 / 337.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.01533, allocations: 1.82 MB / 339 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01533, allocations: 0 / 339 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.01581, allocations: 462.6 kB / 339.4 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.01584, allocations: 19.86 kB / 339.4 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.01585, allocations: 3.984 kB / 339.5 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.01595, allocations: 27.98 kB / 339.5 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.01596, allocations: 11.98 kB / 339.5 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.01597, allocations: 8 kB / 339.5 MB, free: 368 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.402e-05/0.01607, allocations: 165.2 kB / 339.7 MB, free: 204 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01607, allocations: 0 / 339.7 MB, free: 204 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.01633, allocations: 75.89 kB / 339.7 MB, free: 128 kB / 298.7 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.0007647/0.01709, allocations: 0.9901 MB / 340.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004832/0.01758, allocations: 358.5 kB / 341.1 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01758, allocations: 0 / 341.1 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.01774, allocations: 206.5 kB / 341.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.01799, allocations: 43.83 kB / 341.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.02105, allocations: 3.028 MB / 344.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.365e-05/0.02113, allocations: 142.2 kB / 344.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.588e-05/0.02119, allocations: 21.94 kB / 344.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.02126, allocations: 72.47 kB / 344.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.02126, allocations: 0 / 344.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.03977, allocations: 6.145 MB / 350.7 MB, free: 5.086 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.6, allocations: 11.02 kB / 350.7 MB, free: 5.078 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/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: 9.202886993996799]