Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 121.4 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 249.1 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 43.92 kB / 365.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1215, allocations: 52.16 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003786/0.1253, allocations: 2.703 MB / 420.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1264, allocations: 0.6739 MB / 421.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1265, allocations: 4 kB / 421.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.1266, allocations: 47.56 kB / 421.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.1268, allocations: 87.27 kB / 421.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.127, allocations: 95.8 kB / 421.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.1274, allocations: 338.5 kB / 421.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.1276, allocations: 81.7 kB / 421.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1278, allocations: 131.5 kB / 422 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.128, allocations: 131.5 kB / 422.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.128, allocations: 28 kB / 422.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.29e-05/0.128, allocations: 28 kB / 422.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.1281, allocations: 67.69 kB / 422.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1282, allocations: 139.3 kB / 422.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.1286, allocations: 318.6 kB / 422.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1286, allocations: 0 / 422.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.1286, allocations: 8 kB / 422.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1286, allocations: 0 / 422.7 MB, free: 7.711 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.0009822/0.1296, allocations: 0.5961 MB / 423.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1296, allocations: 12.03 kB / 423.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.1297, allocations: 62.72 kB / 423.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.1298, allocations: 32.75 kB / 423.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.1301, allocations: 256.5 kB / 423.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1301, allocations: 28.92 kB / 423.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.1302, allocations: 28.31 kB / 423.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.1307, allocations: 283.8 kB / 424 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1307, allocations: 0 / 424 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.1307, allocations: 15.94 kB / 424 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1307, allocations: 4 kB / 424 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.1312, allocations: 210.1 kB / 424.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1328, allocations: 1.011 MB / 425.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.1333, allocations: 174.5 kB / 425.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.1337, allocations: 145.1 kB / 425.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1337, allocations: 7.906 kB / 425.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1337, allocations: 38.56 kB / 425.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.1337, allocations: 0 / 425.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001667/0.1354, allocations: 0.5478 MB / 426.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1354, allocations: 59.39 kB / 426.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.1357, allocations: 232.9 kB / 426.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1357, allocations: 29.7 kB / 426.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1358, allocations: 176.2 kB / 426.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.1359, allocations: 75.41 kB / 426.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.136, allocations: 45.7 kB / 426.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1361, allocations: 326.8 kB / 427 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.1363, allocations: 71.95 kB / 427.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.1365, allocations: 134.8 kB / 427.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.1369, allocations: 206.6 kB / 427.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1369, allocations: 3.938 kB / 427.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008165/0.1377, allocations: 360 kB / 427.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1377, allocations: 4 kB / 427.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1377, allocations: 7.984 kB / 427.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/0.1381, allocations: 84.73 kB / 427.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1383, allocations: 47.98 kB / 427.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.1412, allocations: 2.005 MB / 429.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.1414, allocations: 31.81 kB / 430 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.1414, allocations: 15.98 kB / 430 MB, free: 15.93 MB / 366.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.0001593/0.1416, allocations: 142.4 kB / 430.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.1416, allocations: 23.8 kB / 430.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.1417, allocations: 34.23 kB / 430.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1417, allocations: 0 / 430.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1417, allocations: 0 / 430.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1417, allocations: 0 / 430.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.1429, allocations: 0.6495 MB / 430.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1429, allocations: 4 kB / 430.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.143, allocations: 31.98 kB / 430.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002712/0.1433, allocations: 72.8 kB / 430.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1433, allocations: 8 kB / 430.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/0.1458, allocations: 1.928 MB / 432.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1458, allocations: 4.062 kB / 432.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009071/0.1467, allocations: 451.9 kB / 433.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.1468, allocations: 100.9 kB / 433.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1468, allocations: 8 kB / 433.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.147, allocations: 24.05 kB / 433.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.147, allocations: 11.92 kB / 433.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1471, allocations: 7.938 kB / 433.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.1472, allocations: 172.5 kB / 433.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1472, allocations: 0 / 433.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.1477, allocations: 75.89 kB / 433.7 MB, free: 11.96 MB / 366.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.001298/0.149, allocations: 0.9887 MB / 434.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009132/0.1499, allocations: 366.7 kB / 435.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1499, allocations: 0 / 435.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.1502, allocations: 202.5 kB / 435.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1506, allocations: 40.2 kB / 435.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/0.156, allocations: 3.076 MB / 438.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.1564, allocations: 0.7519 MB / 439.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.278e-05/0.1565, allocations: 21.94 kB / 439.1 MB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.1566, allocations: 75.41 kB / 439.2 MB, free: 6.234 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1566, allocations: 0 / 439.2 MB, free: 6.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03648/0.1931, allocations: 5.457 MB / 444.7 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.95, allocations: 14.84 kB / 444.7 MB, free: 0.9258 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --stepSize=1.001e-05 --timeout=50 --tolerance=0.0001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.792744683101773]