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.001329/0.001329, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001511/0.001511, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.422/1.422, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001572/0.001572, allocations: 59.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1056, allocations: 53.34 MB / 426.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004339/0.1099, allocations: 2.72 MB / 429.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1114, allocations: 0.7012 MB / 429.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.1116, allocations: 7.938 kB / 429.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.1118, allocations: 51.5 kB / 429.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.112, allocations: 91.23 kB / 429.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.1123, allocations: 91.77 kB / 430 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.1128, allocations: 338.6 kB / 430.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.1129, allocations: 77.7 kB / 430.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.1133, allocations: 143.5 kB / 430.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1135, allocations: 143.3 kB / 430.7 MB, free: 384 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.1135, allocations: 24 kB / 430.7 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.813e-05/0.1136, allocations: 28 kB / 430.8 MB, free: 332 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.1136, allocations: 55.83 kB / 430.8 MB, free: 276 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1138, allocations: 147.2 kB / 431 MB, free: 128 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2006/0.3143, allocations: 318.6 kB / 431.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.318e-05/0.3144, allocations: 0.7812 kB / 431.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3144, allocations: 0 / 431.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3144, allocations: 0.9688 kB / 431.3 MB, free: 8.293 MB / 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.001066/0.3154, allocations: 0.5925 MB / 431.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.3155, allocations: 12.5 kB / 431.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.3155, allocations: 61.88 kB / 431.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.3156, allocations: 31.66 kB / 432 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.316, allocations: 269.9 kB / 432.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.3161, allocations: 20.06 kB / 432.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.3161, allocations: 24.28 kB / 432.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.3166, allocations: 280.2 kB / 432.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3166, allocations: 0.6562 kB / 432.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.3166, allocations: 10.44 kB / 432.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3166, allocations: 6.625 kB / 432.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.3171, allocations: 208.6 kB / 432.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.3185, allocations: 1.012 MB / 433.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.319, allocations: 175.1 kB / 434 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.3194, allocations: 147.9 kB / 434.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3194, allocations: 3.062 kB / 434.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.3195, allocations: 33.61 kB / 434.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.3195, allocations: 0 / 434.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00184/0.3213, allocations: 0.5621 MB / 434.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.3213, allocations: 56.88 kB / 434.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.3216, allocations: 232.9 kB / 435 MB, free: 6.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.3216, allocations: 30.52 kB / 435 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3217, allocations: 178.6 kB / 435.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.3218, allocations: 67.14 kB / 435.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.114e-05/0.3219, allocations: 48.31 kB / 435.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.3219, allocations: 335 kB / 435.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.3221, allocations: 67.03 kB / 435.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.3224, allocations: 134.5 kB / 435.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.3228, allocations: 205.8 kB / 436 MB, free: 5.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3228, allocations: 1.625 kB / 436 MB, free: 5.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009091/0.3237, allocations: 355.5 kB / 436.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.3237, allocations: 7.406 kB / 436.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3237, allocations: 6.953 kB / 436.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004174/0.3241, allocations: 78.81 kB / 436.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.3243, allocations: 47.86 kB / 436.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/0.327, allocations: 2.007 MB / 438.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.3272, allocations: 29.97 kB / 438.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3272, allocations: 8.016 kB / 438.6 MB, free: 4.328 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.0001287/0.3274, allocations: 147.2 kB / 438.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.3274, allocations: 25.64 kB / 438.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.3275, allocations: 23.58 kB / 438.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3275, allocations: 2.562 kB / 438.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3275, allocations: 0.875 kB / 438.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3275, allocations: 6.656 kB / 438.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.3286, allocations: 0.6523 MB / 439.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3286, allocations: 1.094 kB / 439.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.3288, allocations: 35.11 kB / 439.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002915/0.3291, allocations: 79.89 kB / 439.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3291, allocations: 4.438 kB / 439.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.3313, allocations: 1.921 MB / 441.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3313, allocations: 0 / 441.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009252/0.3322, allocations: 462.8 kB / 441.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.3322, allocations: 99.69 kB / 442 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.3323, allocations: 6.688 kB / 442 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.3325, allocations: 20.55 kB / 442 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3325, allocations: 18.58 kB / 442 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3325, allocations: 4.031 kB / 442 MB, free: 2.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.3326, allocations: 174.1 kB / 442.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3326, allocations: 0 / 442.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.3331, allocations: 70.05 kB / 442.3 MB, free: 1.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.0011/0.3342, allocations: 0.9947 MB / 443.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009123/0.3351, allocations: 356.5 kB / 443.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3351, allocations: 1.25 kB / 443.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.3354, allocations: 215 kB / 443.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.3358, allocations: 39.47 kB / 443.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/0.3419, allocations: 3.077 MB / 447 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.3423, allocations: 0.7554 MB / 447.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.3424, allocations: 18.88 kB / 447.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.3426, allocations: 72.03 kB / 447.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3426, allocations: 4 kB / 447.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.3812, allocations: 5.457 MB / 453.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 4.016 kB / 453.3 MB, free: 13.55 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.170235774945468]