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.001546/0.001546, allocations: 110.3 kB / 18.49 MB, free: 4.539 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.002008/0.002008, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.439/1.439, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.001535/0.001535, allocations: 47.92 kB / 373.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1154, allocations: 53.33 MB / 427.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004249/0.1196, allocations: 2.723 MB / 429.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.121, allocations: 0.7051 MB / 430.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1211, allocations: 7.938 kB / 430.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.1212, allocations: 51.56 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1214, allocations: 91.19 kB / 430.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1217, allocations: 95.81 kB / 430.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.1221, allocations: 334.5 kB / 431.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.1223, allocations: 89.69 kB / 431.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.1226, allocations: 131.5 kB / 431.3 MB, free: 492 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.1227, allocations: 143.4 kB / 431.4 MB, free: 348 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.1228, allocations: 28 kB / 431.4 MB, free: 320 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.499e-05/0.1228, allocations: 28 kB / 431.5 MB, free: 292 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.1229, allocations: 59.77 kB / 431.5 MB, free: 232 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.123, allocations: 151.2 kB / 431.7 MB, free: 80 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2264/0.3495, allocations: 307.2 kB / 432 MB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3495, allocations: 4.781 kB / 432 MB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3495, allocations: 4.109 kB / 432 MB, free: 8.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3495, allocations: 2.688 kB / 432 MB, free: 8.312 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.0009555/0.3505, allocations: 0.5912 MB / 432.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3505, allocations: 11.47 kB / 432.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.927e-05/0.3505, allocations: 6.562 kB / 432.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.174e-05/0.3506, allocations: 59.14 kB / 432.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.3506, allocations: 33.34 kB / 432.7 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.351, allocations: 269 kB / 432.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.351, allocations: 20.72 kB / 433 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.351, allocations: 22.66 kB / 433 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.3515, allocations: 282.6 kB / 433.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3515, allocations: 0 / 433.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.3516, allocations: 9.906 kB / 433.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3516, allocations: 5.75 kB / 433.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.352, allocations: 214.2 kB / 433.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.3533, allocations: 1.001 MB / 434.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/0.3538, allocations: 184.1 kB / 434.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.3542, allocations: 143 kB / 434.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.3542, allocations: 2.375 kB / 434.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.3543, allocations: 35.47 kB / 434.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.3543, allocations: 3.062 kB / 434.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001703/0.356, allocations: 0.5604 MB / 435.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.356, allocations: 52.84 kB / 435.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.3562, allocations: 229.5 kB / 435.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3562, allocations: 34.42 kB / 435.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.3563, allocations: 181.3 kB / 435.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.3563, allocations: 63.06 kB / 436 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.3564, allocations: 50.39 kB / 436 MB, free: 6.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.3565, allocations: 333.9 kB / 436.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.3566, allocations: 66.81 kB / 436.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.3568, allocations: 138.5 kB / 436.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.3572, allocations: 205.8 kB / 436.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3572, allocations: 3.938 kB / 436.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008398/0.358, allocations: 345.3 kB / 437.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3581, allocations: 12.03 kB / 437.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3581, allocations: 2.281 kB / 437.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.3584, allocations: 80.34 kB / 437.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.3586, allocations: 47.73 kB / 437.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.3612, allocations: 2.009 MB / 439.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.3614, allocations: 33.69 kB / 439.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3614, allocations: 8.188 kB / 439.3 MB, free: 4.344 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.0001091/0.3615, allocations: 144.1 kB / 439.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.3616, allocations: 22.39 kB / 439.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.3616, allocations: 26.66 kB / 439.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3616, allocations: 2.281 kB / 439.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3616, allocations: 4.062 kB / 439.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3616, allocations: 1.953 kB / 439.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.3627, allocations: 0.657 MB / 440.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3627, allocations: 1.422 kB / 440.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.3629, allocations: 31.45 kB / 440.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/0.3631, allocations: 78.48 kB / 440.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3631, allocations: 5.594 kB / 440.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.3652, allocations: 1.919 MB / 442.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3652, allocations: 1.125 kB / 442.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/0.366, allocations: 461.4 kB / 442.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.3661, allocations: 102.5 kB / 442.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.3661, allocations: 6.859 kB / 442.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3663, allocations: 21.02 kB / 442.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.3663, allocations: 14.34 kB / 442.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3663, allocations: 8.078 kB / 442.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.3665, allocations: 172.3 kB / 442.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3665, allocations: 0 / 442.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.3669, allocations: 74.55 kB / 443 MB, free: 1.922 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.001089/0.368, allocations: 0.9972 MB / 444 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009177/0.3689, allocations: 350.2 kB / 444.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3689, allocations: 0 / 444.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.3692, allocations: 212.5 kB / 444.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3696, allocations: 39.17 kB / 444.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.3752, allocations: 3.077 MB / 447.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.3757, allocations: 0.7549 MB / 448.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.3758, allocations: 18.78 kB / 448.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3759, allocations: 77.58 kB / 448.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3759, allocations: 3.281 kB / 448.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.407, allocations: 5.498 MB / 454 MB, free: 13.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.38, allocations: 6.75 kB / 454 MB, free: 13.52 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] "" 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.903149977966677]