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.001449/0.001449, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002036/0.002036, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.443/1.443, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.001986/0.001986, allocations: 59.91 kB / 378.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.254, allocations: 53.4 MB / 431.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004429/0.2584, allocations: 2.773 MB / 434.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.2603, allocations: 0.6934 MB / 435.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.2606, allocations: 11.94 kB / 435.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.2608, allocations: 59.42 kB / 435.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.2611, allocations: 115 kB / 435.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.2614, allocations: 95.86 kB / 435.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004973/0.2619, allocations: 414.2 kB / 436.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.2621, allocations: 95.72 kB / 436.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.2623, allocations: 155.4 kB / 436.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.2626, allocations: 183.2 kB / 436.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.2626, allocations: 32 kB / 436.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.152e-05/0.2627, allocations: 32 kB / 436.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.2628, allocations: 79.64 kB / 436.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.263, allocations: 151.3 kB / 436.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.2634, allocations: 398.2 kB / 437.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2634, allocations: 0 / 437.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2634, allocations: 0 / 437.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.2634, allocations: 4 kB / 437.2 MB, free: 1.164 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.0009299/0.2644, allocations: 0.5714 MB / 437.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2644, allocations: 12.03 kB / 437.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.26e-05/0.2644, allocations: 8.844 kB / 437.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.811e-05/0.2645, allocations: 70.72 kB / 437.9 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/0.2646, allocations: 40.7 kB / 437.9 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.265, allocations: 234.5 kB / 438.1 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.2651, allocations: 25.02 kB / 438.2 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.2651, allocations: 40.31 kB / 438.2 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.2657, allocations: 418.5 kB / 438.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2657, allocations: 4 kB / 438.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.2658, allocations: 12 kB / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.2658, allocations: 8 kB / 438.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.2662, allocations: 238.5 kB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.268, allocations: 1.011 MB / 439.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/0.2686, allocations: 242.3 kB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.2689, allocations: 144.8 kB / 440.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.2689, allocations: 4 kB / 440.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.269, allocations: 50.5 kB / 440.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.993e-06/0.269, allocations: 0 / 440.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001101/0.2701, allocations: 400 kB / 440.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.2701, allocations: 55.41 kB / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.2704, allocations: 277.7 kB / 441 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.2704, allocations: 33.64 kB / 441 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.2706, allocations: 212.3 kB / 441.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.2706, allocations: 83.28 kB / 441.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.2707, allocations: 69.66 kB / 441.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2709, allocations: 338.8 kB / 441.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.271, allocations: 71.97 kB / 441.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.2712, allocations: 175.1 kB / 442 MB, free: 12.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.2715, allocations: 258.9 kB / 442.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2715, allocations: 0 / 442.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006872/0.2722, allocations: 379 kB / 442.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2723, allocations: 12.06 kB / 442.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2723, allocations: 7.984 kB / 442.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003604/0.2726, allocations: 77.66 kB / 442.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.2729, allocations: 67.91 kB / 442.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.2755, allocations: 2.776 MB / 445.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.2757, allocations: 47.78 kB / 445.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.2757, allocations: 16 kB / 445.6 MB, free: 8.184 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.0001609/0.2759, allocations: 149.7 kB / 445.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.2759, allocations: 23.86 kB / 445.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.276, allocations: 34.27 kB / 445.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.276, allocations: 4 kB / 445.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.276, allocations: 0 / 445.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.276, allocations: 3.984 kB / 445.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.2771, allocations: 0.6641 MB / 446.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.2772, allocations: 7.938 kB / 446.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.2774, allocations: 39.91 kB / 446.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002893/0.2776, allocations: 81.67 kB / 446.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.2777, allocations: 8 kB / 446.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/0.2803, allocations: 2.765 MB / 449.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2803, allocations: 0 / 449.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.2811, allocations: 468.1 kB / 449.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.2812, allocations: 27.97 kB / 449.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.2812, allocations: 11.98 kB / 449.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.2815, allocations: 23.98 kB / 449.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.2815, allocations: 27.89 kB / 449.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.2816, allocations: 7.938 kB / 449.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.2818, allocations: 197.2 kB / 450.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2818, allocations: 0 / 450.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004659/0.2822, allocations: 91.89 kB / 450.2 MB, free: 3.227 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.001091/0.2833, allocations: 1.008 MB / 451.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006472/0.284, allocations: 429.8 kB / 451.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.284, allocations: 4.062 kB / 451.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.2844, allocations: 329.2 kB / 452 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.2848, allocations: 59.5 kB / 452 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.289, allocations: 3.109 MB / 455.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.2892, allocations: 177.1 kB / 455.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.2893, allocations: 34.95 kB / 455.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.2895, allocations: 99.41 kB / 455.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2895, allocations: 0 / 455.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.3286, allocations: 7.355 MB / 462.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/13.59, allocations: 15.92 kB / 462.8 MB, free: 6.527 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: 16.04738476104103]