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.001938/0.001938, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001767/0.001767, allocations: 211 kB / 24.53 MB, free: 4.07 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.456/1.456, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.001864/0.001864, allocations: 59.89 kB / 378.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2813, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004183/0.2855, allocations: 2.767 MB / 434.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.2869, allocations: 0.6778 MB / 435.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.2871, allocations: 7.938 kB / 435.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.2872, allocations: 51.56 kB / 435.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.2874, allocations: 91.19 kB / 435.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.2876, allocations: 75.89 kB / 435.7 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.288, allocations: 338.4 kB / 436 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.2882, allocations: 81.97 kB / 436.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.2885, allocations: 139.5 kB / 436.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.2887, allocations: 143.4 kB / 436.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.2888, allocations: 35.88 kB / 436.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.188e-05/0.2888, allocations: 28 kB / 436.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.2889, allocations: 63.77 kB / 436.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.289, allocations: 147.2 kB / 436.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.2894, allocations: 331.4 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2894, allocations: 0 / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2894, allocations: 0 / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2894, allocations: 0 / 437 MB, free: 1.719 MB / 334.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.0009/0.2903, allocations: 0.5015 MB / 437.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.2904, allocations: 12.03 kB / 437.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.718e-05/0.2904, allocations: 4.844 kB / 437.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.198e-05/0.2905, allocations: 66.72 kB / 437.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.2905, allocations: 36.7 kB / 437.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.291, allocations: 215.9 kB / 437.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.291, allocations: 17.03 kB / 437.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.291, allocations: 24.38 kB / 437.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.2914, allocations: 242 kB / 438.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2915, allocations: 0 / 438.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.2915, allocations: 12 kB / 438.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.2915, allocations: 4 kB / 438.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.2918, allocations: 190.5 kB / 438.3 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.2935, allocations: 0.8989 MB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.2938, allocations: 158.5 kB / 439.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.2942, allocations: 139.5 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.2942, allocations: 3.938 kB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2942, allocations: 34.56 kB / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.2942, allocations: 0 / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001145/0.2954, allocations: 366.4 kB / 439.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.2954, allocations: 55.41 kB / 439.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.2957, allocations: 236.9 kB / 440.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.2957, allocations: 25.7 kB / 440.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.2958, allocations: 184.1 kB / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/0.2959, allocations: 67.42 kB / 440.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-05/0.2959, allocations: 53.66 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2961, allocations: 330.8 kB / 440.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.2962, allocations: 63.97 kB / 440.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.2964, allocations: 109.9 kB / 440.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.2966, allocations: 182.5 kB / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2966, allocations: 0 / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005954/0.2972, allocations: 294.2 kB / 441.4 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2972, allocations: 10.5 kB / 441.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2972, allocations: 0 / 441.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/0.2976, allocations: 72.78 kB / 441.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2978, allocations: 51.95 kB / 441.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.3001, allocations: 1.806 MB / 443.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.3003, allocations: 31.84 kB / 443.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.3003, allocations: 12 kB / 443.4 MB, free: 10.89 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 0.0001609/0.3004, allocations: 145.7 kB / 443.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.3005, allocations: 23.86 kB / 443.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.3005, allocations: 22.12 kB / 443.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3005, allocations: 0 / 443.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.3005, allocations: 4 kB / 443.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3006, allocations: 3.984 kB / 443.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009809/0.3015, allocations: 0.5839 MB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3015, allocations: 4 kB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.3017, allocations: 31.98 kB / 444.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002829/0.302, allocations: 80.72 kB / 444.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.302, allocations: 0 / 444.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.3041, allocations: 1.802 MB / 446.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3041, allocations: 0 / 446.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.3047, allocations: 402.1 kB / 446.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.3047, allocations: 27.91 kB / 446.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.3047, allocations: 11.94 kB / 446.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.3049, allocations: 11.98 kB / 446.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.305, allocations: 19.97 kB / 446.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.305, allocations: 7.938 kB / 446.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.3052, allocations: 168.5 kB / 446.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3052, allocations: 0 / 446.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.3056, allocations: 83.89 kB / 446.8 MB, free: 7.289 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.0009751/0.3066, allocations: 0.9201 MB / 447.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005667/0.3071, allocations: 285 kB / 448 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3072, allocations: 0 / 448 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.3074, allocations: 210.5 kB / 448.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.3078, allocations: 48.89 kB / 448.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.3115, allocations: 2.687 MB / 450.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.3118, allocations: 0.7518 MB / 451.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.854e-05/0.3119, allocations: 22.3 kB / 451.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.312, allocations: 75.41 kB / 451.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of SimCode: time 9.21e-07/0.312, allocations: 4 kB / 451.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.3439, allocations: 6.012 MB / 457.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13, allocations: 11.5 kB / 457.8 MB, free: 12.21 MB / 366.1 MB " [Timeout remaining time 647] (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] Reference file matches [Calling sys.exit(0), Time elapsed: 15.554358741035685]