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.001819/0.001819, allocations: 114 kB / 20.43 MB, free: 1.457 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.001846/0.001846, allocations: 214.2 kB / 23.74 MB, free: 4.672 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.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 7.988 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="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 0.002011/0.002011, allocations: 67.91 kB / 377.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2801, allocations: 53.41 MB / 431.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004177/0.2843, allocations: 2.759 MB / 434 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2855, allocations: 0.6856 MB / 434.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2856, allocations: 7.938 kB / 434.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.2857, allocations: 51.5 kB / 434.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.2859, allocations: 91.19 kB / 434.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.2861, allocations: 79.84 kB / 434.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005217/0.2867, allocations: 342.5 kB / 435.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.2869, allocations: 78 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.2871, allocations: 135.5 kB / 435.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.2874, allocations: 147.3 kB / 435.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.2874, allocations: 24 kB / 435.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.766e-05/0.2874, allocations: 28 kB / 435.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.2875, allocations: 67.75 kB / 435.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.2877, allocations: 151.2 kB / 435.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.2881, allocations: 327 kB / 436.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2881, allocations: 0 / 436.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2881, allocations: 0 / 436.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2881, allocations: 0 / 436.2 MB, free: 1.672 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.000876/0.2889, allocations: 0.5093 MB / 436.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.289, allocations: 8.031 kB / 436.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.151e-05/0.289, allocations: 66.72 kB / 436.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.2891, allocations: 36.7 kB / 436.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.2895, allocations: 211.4 kB / 437 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.2895, allocations: 17.03 kB / 437 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.2895, allocations: 24.38 kB / 437 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.29, allocations: 242.2 kB / 437.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.29, allocations: 0 / 437.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.29, allocations: 12 kB / 437.3 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.29, allocations: 4 kB / 437.3 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.2903, allocations: 186.5 kB / 437.5 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.2919, allocations: 0.8989 MB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.2923, allocations: 158.5 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.2926, allocations: 136.7 kB / 438.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2926, allocations: 0 / 438.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.2927, allocations: 34.56 kB / 438.7 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.2927, allocations: 0 / 438.7 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001125/0.2938, allocations: 373.1 kB / 439.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.2939, allocations: 55.41 kB / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.2941, allocations: 232.9 kB / 439.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.2941, allocations: 25.7 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.2943, allocations: 188.1 kB / 439.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.2943, allocations: 75.36 kB / 439.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.354e-05/0.2944, allocations: 53.66 kB / 439.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2946, allocations: 330.8 kB / 440 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.2947, allocations: 55.98 kB / 440 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.2949, allocations: 109.9 kB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.2951, allocations: 174.5 kB / 440.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.2951, allocations: 3.984 kB / 440.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005495/0.2957, allocations: 290 kB / 440.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2957, allocations: 10.19 kB / 440.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2957, allocations: 0 / 440.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003485/0.296, allocations: 76.97 kB / 440.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.2962, allocations: 51.91 kB / 440.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.2985, allocations: 1.81 MB / 442.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.2987, allocations: 31.77 kB / 442.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.2987, allocations: 12 kB / 442.6 MB, free: 10.86 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.000149/0.2988, allocations: 141.7 kB / 442.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.2989, allocations: 23.86 kB / 442.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.2989, allocations: 30.17 kB / 442.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2989, allocations: 0 / 442.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.2989, allocations: 4 kB / 442.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2989, allocations: 0 / 442.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/0.2998, allocations: 0.58 MB / 443.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2998, allocations: 8 kB / 443.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3, allocations: 39.91 kB / 443.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/0.3003, allocations: 68.8 kB / 443.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3003, allocations: 0 / 443.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.3024, allocations: 1.806 MB / 445.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3024, allocations: 0 / 445.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.303, allocations: 406.4 kB / 445.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.303, allocations: 19.8 kB / 445.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.3031, allocations: 11.94 kB / 445.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.3032, allocations: 11.98 kB / 445.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.3033, allocations: 23.91 kB / 445.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3033, allocations: 8.062 kB / 445.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.3035, allocations: 168.5 kB / 445.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3035, allocations: 0 / 445.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.3039, allocations: 79.89 kB / 446 MB, free: 7.254 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.0009551/0.3048, allocations: 0.92 MB / 446.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005421/0.3054, allocations: 285 kB / 447.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3054, allocations: 3.938 kB / 447.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.3057, allocations: 211 kB / 447.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3061, allocations: 40.84 kB / 447.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.3099, allocations: 2.68 MB / 450.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.3103, allocations: 0.7558 MB / 450.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.3105, allocations: 22.28 kB / 450.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.3106, allocations: 79.42 kB / 451 MB, free: 2.059 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3106, allocations: 0 / 451 MB, free: 2.059 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/0.3535, allocations: 5.982 MB / 457 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.67, allocations: 7.984 kB / 457 MB, free: 12.2 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.077671484090388]