Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.001344/0.001344, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001449/0.001449, allocations: 219.8 kB / 24.53 MB, free: 4.004 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.418/1.418, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 63.91 kB / 378.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2607, allocations: 53.4 MB / 432 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004501/0.2652, allocations: 3.038 MB / 435 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2669, allocations: 0.7362 MB / 435.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.267, allocations: 11.94 kB / 435.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.2673, allocations: 59.38 kB / 435.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.2675, allocations: 119 kB / 436 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2677, allocations: 95.8 kB / 436.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.2682, allocations: 410.2 kB / 436.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.2684, allocations: 95.78 kB / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.2686, allocations: 155.4 kB / 436.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.2688, allocations: 175.2 kB / 436.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.804e-05/0.2689, allocations: 36 kB / 436.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.035e-05/0.2689, allocations: 32 kB / 436.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.013e-05/0.269, allocations: 79.64 kB / 437 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.2692, allocations: 183.1 kB / 437.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.2697, allocations: 394.7 kB / 437.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2697, allocations: 0 / 437.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2697, allocations: 0 / 437.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.2697, allocations: 0 / 437.6 MB, free: 1.082 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001035/0.2708, allocations: 0.5714 MB / 438.2 MB, free: 492 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.2708, allocations: 12.03 kB / 438.2 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.956e-05/0.2709, allocations: 12.78 kB / 438.2 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.006e-05/0.2709, allocations: 66.72 kB / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.828e-05/0.271, allocations: 40.7 kB / 438.3 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.2715, allocations: 242.5 kB / 438.5 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.2715, allocations: 29.03 kB / 438.5 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.2716, allocations: 28.38 kB / 438.6 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.2721, allocations: 290 kB / 438.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2721, allocations: 0 / 438.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.2721, allocations: 19.94 kB / 438.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2722, allocations: 8 kB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.2726, allocations: 238.5 kB / 439.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.2745, allocations: 1.089 MB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/0.275, allocations: 230.8 kB / 440.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.2754, allocations: 148.8 kB / 440.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.2754, allocations: 11.97 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.2754, allocations: 50.44 kB / 440.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.2754, allocations: 0 / 440.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001132/0.2766, allocations: 400 kB / 441 MB, free: 13.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.2766, allocations: 55.41 kB / 441.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.2769, allocations: 269.8 kB / 441.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.2769, allocations: 29.7 kB / 441.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.2771, allocations: 208.3 kB / 441.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.131e-05/0.2771, allocations: 91.27 kB / 441.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.2772, allocations: 69.66 kB / 441.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2774, allocations: 346.7 kB / 442.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.2775, allocations: 83.91 kB / 442.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.2777, allocations: 163.1 kB / 442.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.2781, allocations: 262.9 kB / 442.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2781, allocations: 0 / 442.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007144/0.2788, allocations: 382.7 kB / 442.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2788, allocations: 6.344 kB / 443 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2788, allocations: 4.375 kB / 443 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/0.2792, allocations: 85.64 kB / 443 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.2794, allocations: 67.84 kB / 443.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.2821, allocations: 2.78 MB / 445.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.2823, allocations: 43.61 kB / 445.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.2823, allocations: 16 kB / 445.9 MB, free: 8.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (opAmp2.satNeg,opAmp2.satPos,opAmp1.satNeg,opAmp1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.2825, allocations: 149.3 kB / 446.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.2826, allocations: 27.86 kB / 446.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.132e-05/0.2826, allocations: 38.27 kB / 446.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2826, allocations: 8 kB / 446.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2827, allocations: 0 / 446.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2827, allocations: 7.984 kB / 446.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.2838, allocations: 0.7338 MB / 446.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2838, allocations: 11.97 kB / 446.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.284, allocations: 39.92 kB / 447 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002947/0.2843, allocations: 77.64 kB / 447 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2843, allocations: 4 kB / 447 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.287, allocations: 2.785 MB / 449.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.287, allocations: 0 / 449.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/0.2877, allocations: 472.2 kB / 450.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.2878, allocations: 31.73 kB / 450.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.2878, allocations: 4 kB / 450.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.288, allocations: 27.92 kB / 450.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.2881, allocations: 27.89 kB / 450.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.2881, allocations: 8.062 kB / 450.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.2883, allocations: 189.2 kB / 450.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2883, allocations: 0 / 450.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000438/0.2887, allocations: 99.89 kB / 450.7 MB, free: 3.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp1.v_int,c.v) * Number of discrete variables: 4 (opAmp1.satPos,opAmp1.satNeg,opAmp2.satPos,opAmp2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.2898, allocations: 0.9964 MB / 451.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006508/0.2904, allocations: 433.8 kB / 452.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/0.2904, allocations: 0 / 452.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.2908, allocations: 333.2 kB / 452.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.2913, allocations: 59.45 kB / 452.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.2954, allocations: 3.12 MB / 455.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.2959, allocations: 0.7832 MB / 456.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.296, allocations: 30.97 kB / 456.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.2961, allocations: 103.4 kB / 456.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2961, allocations: 0 / 456.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.3302, allocations: 7.195 MB / 463.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.46, allocations: 4.75 kB / 463.7 MB, free: 5.922 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.911453556036577]