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.001717/0.001717, allocations: 112.6 kB / 18.49 MB, free: 4.562 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.001369/0.001369, allocations: 193 kB / 21.43 MB, free: 1.633 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.4/1.4, allocations: 225.6 MB / 249.8 MB, free: 3.719 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 55.91 kB / 366.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1043, allocations: 52.14 MB / 418.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.005079/0.1094, allocations: 2.714 MB / 421.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.111, allocations: 0.6661 MB / 421.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.1113, allocations: 8 kB / 421.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.1115, allocations: 47.5 kB / 422 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.1118, allocations: 87.25 kB / 422.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1121, allocations: 91.81 kB / 422.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.1127, allocations: 334.5 kB / 422.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.1129, allocations: 81.7 kB / 422.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.1133, allocations: 135.5 kB / 422.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.1135, allocations: 143.4 kB / 422.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.91e-05/0.1136, allocations: 24 kB / 422.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.998e-05/0.1137, allocations: 28 kB / 422.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.1137, allocations: 63.77 kB / 422.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.1139, allocations: 147.2 kB / 423.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.1144, allocations: 310.6 kB / 423.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1144, allocations: 7.984 kB / 423.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1144, allocations: 0 / 423.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1144, allocations: 0 / 423.4 MB, free: 7.684 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.001135/0.1155, allocations: 0.604 MB / 424 MB, free: 7.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1156, allocations: 15.97 kB / 424 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.803e-05/0.1156, allocations: 4.75 kB / 424 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.942e-05/0.1157, allocations: 62.73 kB / 424.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.931e-05/0.1157, allocations: 28.75 kB / 424.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.1162, allocations: 264.4 kB / 424.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1162, allocations: 20.88 kB / 424.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.1163, allocations: 24.38 kB / 424.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.1168, allocations: 283.6 kB / 424.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1168, allocations: 0 / 424.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.1169, allocations: 12 kB / 424.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1169, allocations: 4 kB / 424.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.1174, allocations: 206.1 kB / 424.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.1191, allocations: 1.019 MB / 425.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.1196, allocations: 174.5 kB / 426.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004215/0.12, allocations: 141.1 kB / 426.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1201, allocations: 7.906 kB / 426.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1201, allocations: 38.56 kB / 426.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.1201, allocations: 0 / 426.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001827/0.1219, allocations: 0.5522 MB / 426.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.122, allocations: 51.41 kB / 426.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.1223, allocations: 240.9 kB / 427.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1223, allocations: 25.7 kB / 427.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1224, allocations: 180.2 kB / 427.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.533e-05/0.1225, allocations: 67.42 kB / 427.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.1226, allocations: 53.64 kB / 427.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1227, allocations: 330.8 kB / 427.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.1229, allocations: 67.97 kB / 427.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.1232, allocations: 134.8 kB / 427.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.1236, allocations: 215.9 kB / 428.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1236, allocations: 0 / 428.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009208/0.1245, allocations: 351.7 kB / 428.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1245, allocations: 8 kB / 428.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1245, allocations: 3.938 kB / 428.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/0.1249, allocations: 76.8 kB / 428.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.1251, allocations: 59.97 kB / 428.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.1282, allocations: 2.001 MB / 430.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.1284, allocations: 35.77 kB / 430.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.1284, allocations: 8 kB / 430.7 MB, free: 15.9 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.000159/0.1286, allocations: 145.6 kB / 430.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.1286, allocations: 23.86 kB / 430.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.1287, allocations: 30.11 kB / 430.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1287, allocations: 8.062 kB / 430.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1287, allocations: 0 / 430.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1287, allocations: 0 / 430.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.13, allocations: 0.6513 MB / 431.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.13, allocations: 48 / 431.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1301, allocations: 39.91 kB / 431.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.1304, allocations: 72.8 kB / 431.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1304, allocations: 8 kB / 431.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002732/0.1332, allocations: 1.912 MB / 433.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1332, allocations: 0 / 433.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000982/0.1341, allocations: 467.2 kB / 434 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-05/0.1342, allocations: 100.9 kB / 434.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1343, allocations: 0 / 434.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.1345, allocations: 28.05 kB / 434.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.1345, allocations: 15.91 kB / 434.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1345, allocations: 8 kB / 434.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1347, allocations: 164.5 kB / 434.3 MB, free: 12 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1347, allocations: 0 / 434.3 MB, free: 12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004402/0.1351, allocations: 71.89 kB / 434.4 MB, free: 11.93 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.001428/0.1366, allocations: 0.9923 MB / 435.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000977/0.1375, allocations: 366.4 kB / 435.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1375, allocations: 4.25 kB / 435.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.1379, allocations: 202.6 kB / 436 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.1383, allocations: 40.7 kB / 436 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005801/0.1441, allocations: 3.083 MB / 439.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.1445, allocations: 0.7519 MB / 439.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.931e-05/0.1446, allocations: 21.94 kB / 439.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.1447, allocations: 71.42 kB / 439.9 MB, free: 6.199 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1447, allocations: 0 / 439.9 MB, free: 6.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.1741, allocations: 5.501 MB / 445.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.77, allocations: 4.062 kB / 445.4 MB, free: 0.8711 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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] "" Variables in the reference:time,c.v,l.i,opAmp.out.v,opAmp.out.i Variables in the result:A,C,L,R,R1,R2,VAmp,c.C,c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,der(c.v),der(l.i),f,gamma,ground.p.i,ground.p.v,l.L,l.i,l.n.i,l.n.v,l.p.i,l.p.v,l.v,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.strict,opAmp.useSupply,opAmp.v_in,opAmp.v_out,opAmp.vns,opAmp.vps,r.LossPower,r.R,r.R_actual,r.T,r.T_heatPort,r.T_ref,r.alpha,r.i,r.n.i,r.n.v,r.p.i,r.p.v,r.useHeatPort,r.v,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.useHeatPort,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.useHeatPort,r2.v,time,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v [Calling sys.exit(0), Time elapsed: 14.363689001009334]