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.0008555/0.0008555, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008401/0.0008401, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8964/0.8964, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.137e-05, allocations: 3.266 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002937/0.002958, allocations: 2.544 MB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.00411, allocations: 0.6427 MB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.004279, allocations: 11.94 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.004414, allocations: 55.44 kB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.004572, allocations: 95.19 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.004758, allocations: 75.77 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.005043, allocations: 358.1 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.005217, allocations: 78.03 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.005618, allocations: 195.6 kB / 328.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.005771, allocations: 111.6 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.005811, allocations: 28 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.12e-05/0.005842, allocations: 28 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.005887, allocations: 63.75 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.00597, allocations: 99.75 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.0063, allocations: 330.8 kB / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.006303, allocations: 0 / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.006305, allocations: 0 / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.006313, allocations: 0 / 329.3 MB, free: 11.12 MB / 298.7 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.000784/0.007097, allocations: 0.5171 MB / 329.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.007156, allocations: 15.92 kB / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.488e-05/0.007221, allocations: 58.73 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.847e-05/0.007289, allocations: 32.75 kB / 329.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.007721, allocations: 223.2 kB / 330.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.007743, allocations: 21.03 kB / 330.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.007785, allocations: 24.38 kB / 330.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.00814, allocations: 337.5 kB / 330.5 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.008149, allocations: 192 / 330.5 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.008173, allocations: 12.12 kB / 330.5 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.00818, allocations: 8 kB / 330.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.008396, allocations: 178.5 kB / 330.7 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.009443, allocations: 0.8371 MB / 331.5 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.009732, allocations: 162.5 kB / 331.7 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.009967, allocations: 128.8 kB / 331.8 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.009992, allocations: 7.938 kB / 331.8 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.01002, allocations: 38.56 kB / 331.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.01002, allocations: 0 / 331.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007896/0.01081, allocations: 361.5 kB / 332.2 MB, free: 8.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.01085, allocations: 55.41 kB / 332.2 MB, free: 7.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.01104, allocations: 241.7 kB / 332.5 MB, free: 7.703 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.01106, allocations: 25.7 kB / 332.5 MB, free: 7.672 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.01116, allocations: 184.2 kB / 332.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.01121, allocations: 71.39 kB / 332.8 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.01129, allocations: 45.7 kB / 332.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01139, allocations: 338.8 kB / 333.1 MB, free: 7.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.01146, allocations: 55.97 kB / 333.2 MB, free: 6.973 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.475e-05/0.01155, allocations: 114 kB / 333.3 MB, free: 6.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.01172, allocations: 173.9 kB / 333.5 MB, free: 6.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01172, allocations: 0 / 333.5 MB, free: 6.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003602/0.01208, allocations: 294 kB / 333.8 MB, free: 6.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.0121, allocations: 7.984 kB / 333.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01211, allocations: 4 kB / 333.8 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/0.01235, allocations: 72.98 kB / 333.8 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01247, allocations: 55.91 kB / 333.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.01393, allocations: 1.798 MB / 335.7 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.01403, allocations: 31.78 kB / 335.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.01405, allocations: 11.94 kB / 335.7 MB, free: 4.242 MB / 298.7 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 0.000103/0.01415, allocations: 133.8 kB / 335.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.01418, allocations: 27.86 kB / 335.9 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.01421, allocations: 30.17 kB / 335.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01421, allocations: 4 kB / 335.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01421, allocations: 0 / 335.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01421, allocations: 3.938 kB / 335.9 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.01478, allocations: 0.5645 MB / 336.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01478, allocations: 3.938 kB / 336.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.126e-05/0.01487, allocations: 35.98 kB / 336.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000151/0.01502, allocations: 68.78 kB / 336.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.01503, allocations: 8 kB / 336.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.01625, allocations: 1.795 MB / 338.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01625, allocations: 4.031 kB / 338.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.01661, allocations: 387.8 kB / 338.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.01664, allocations: 27.88 kB / 338.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.01665, allocations: 0 / 338.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.01674, allocations: 19.98 kB / 338.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.01679, allocations: 19.91 kB / 338.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.0168, allocations: 4 kB / 338.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.0169, allocations: 173.2 kB / 339 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0169, allocations: 0 / 339 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.0172, allocations: 91.84 kB / 339.1 MB, free: 0.6562 MB / 298.7 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.0005855/0.01778, allocations: 0.9233 MB / 340 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003585/0.01814, allocations: 278.8 kB / 340.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.01814, allocations: 0 / 340.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.01829, allocations: 202.6 kB / 340.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.01855, allocations: 44.41 kB / 340.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.0207, allocations: 2.621 MB / 343.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.652e-05/0.0208, allocations: 146.9 kB / 343.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.944e-05/0.02087, allocations: 34.2 kB / 343.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.02095, allocations: 72.48 kB / 343.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02095, allocations: 0 / 343.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.04349, allocations: 6.499 MB / 349.9 MB, free: 5.785 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/7.737, allocations: 3.266 kB / 349.9 MB, free: 5.785 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.383104528300464]