Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001835/0.001835, allocations: 120.2 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00228/0.00228, allocations: 214.2 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.88 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 53.38 MB / 427.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.005002/0.1153, allocations: 2.743 MB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1168, allocations: 0.6816 MB / 430.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.1171, allocations: 7.938 kB / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.1173, allocations: 43.52 kB / 430.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1175, allocations: 99.23 kB / 430.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1178, allocations: 75.83 kB / 430.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004321/0.1182, allocations: 334.6 kB / 431.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.1184, allocations: 81.69 kB / 431.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.1187, allocations: 135.5 kB / 431.3 MB, free: 368 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1189, allocations: 155.2 kB / 431.5 MB, free: 212 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.473e-05/0.119, allocations: 35.94 kB / 431.5 MB, free: 176 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.246e-05/0.119, allocations: 28 kB / 431.5 MB, free: 148 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.1191, allocations: 55.83 kB / 431.6 MB, free: 92 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2194/0.3385, allocations: 147.9 kB / 431.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.3389, allocations: 327.4 kB / 432 MB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3389, allocations: 0 / 432 MB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3389, allocations: 0 / 432 MB, free: 7.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3389, allocations: 0.7812 kB / 432 MB, free: 7.898 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008311/0.3398, allocations: 0.5783 MB / 432.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3398, allocations: 12.41 kB / 432.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.218e-05/0.3398, allocations: 7.375 kB / 432.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.3399, allocations: 66.3 kB / 432.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.34, allocations: 36.58 kB / 432.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.3403, allocations: 263.7 kB / 433 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3403, allocations: 21.25 kB / 433 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.3404, allocations: 27.47 kB / 433 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.3407, allocations: 236.9 kB / 433.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3407, allocations: 4.188 kB / 433.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.3408, allocations: 9.625 kB / 433.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3408, allocations: 6.844 kB / 433.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.3411, allocations: 185.7 kB / 433.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3423, allocations: 0.9445 MB / 434.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.3426, allocations: 150.9 kB / 434.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.3429, allocations: 137.6 kB / 434.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.3429, allocations: 5.812 kB / 434.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.3429, allocations: 34.94 kB / 434.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.3429, allocations: 0 / 434.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001061/0.344, allocations: 434.5 kB / 435.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.344, allocations: 57.19 kB / 435.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.3442, allocations: 227.5 kB / 435.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3442, allocations: 31.05 kB / 435.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.3443, allocations: 184.7 kB / 435.6 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.3443, allocations: 70.47 kB / 435.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.3444, allocations: 52.73 kB / 435.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.3444, allocations: 335.7 kB / 436.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/0.3445, allocations: 61.16 kB / 436.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3447, allocations: 119.2 kB / 436.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.3448, allocations: 171.5 kB / 436.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3448, allocations: 0 / 436.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005184/0.3454, allocations: 293.4 kB / 436.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3454, allocations: 12.02 kB / 436.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3454, allocations: 4.047 kB / 436.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.3457, allocations: 75.61 kB / 436.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.3459, allocations: 50.06 kB / 436.9 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.3476, allocations: 1.911 MB / 438.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.3478, allocations: 23.27 kB / 438.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3478, allocations: 8.969 kB / 438.8 MB, free: 4.031 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 8.946e-05/0.3479, allocations: 143.4 kB / 438.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.3479, allocations: 23.39 kB / 439 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.348, allocations: 28.7 kB / 439 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.348, allocations: 3.281 kB / 439 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.348, allocations: 0.875 kB / 439 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.348, allocations: 2.688 kB / 439 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/0.3488, allocations: 0.6195 MB / 439.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3488, allocations: 0 / 439.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.3489, allocations: 31.91 kB / 439.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.3492, allocations: 71.97 kB / 439.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3492, allocations: 5.984 kB / 439.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.3507, allocations: 1.912 MB / 441.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3507, allocations: 5.719 kB / 441.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.3512, allocations: 394.5 kB / 442 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.3513, allocations: 102.2 kB / 442.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.3513, allocations: 9.094 kB / 442.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.3515, allocations: 25.5 kB / 442.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.3515, allocations: 17.5 kB / 442.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3516, allocations: 4.594 kB / 442.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.3517, allocations: 169.1 kB / 442.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3517, allocations: 1.062 kB / 442.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.3521, allocations: 77.17 kB / 442.4 MB, free: 1.484 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: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007214/0.3528, allocations: 0.929 MB / 443.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.3533, allocations: 277.1 kB / 443.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3533, allocations: 5.438 kB / 443.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.3535, allocations: 208 kB / 443.8 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3539, allocations: 40.73 kB / 443.9 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.3575, allocations: 2.683 MB / 446.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.3579, allocations: 0.7547 MB / 447.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.587e-05/0.358, allocations: 29.25 kB / 447.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3581, allocations: 78.83 kB / 447.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3581, allocations: 0 / 447.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.3888, allocations: 5.825 MB / 453.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.25, allocations: 11.89 kB / 453.3 MB, free: 13.09 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --stepSize=1.001e-05 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.Tau,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.i_out,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.initOpAmp,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.satNeg,opAmp.satPos,opAmp.useFirstOrder,opAmp.useSupply,opAmp.v_in,opAmp.v_int,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.820224916969892]