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.00196/0.00196, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002329/0.002329, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.459/1.459, allocations: 230.5 MB / 257.4 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 59.91 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2747, allocations: 53.42 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004591/0.2793, allocations: 3.028 MB / 434.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.2807, allocations: 0.74 MB / 435 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.2808, allocations: 11.94 kB / 435 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.281, allocations: 59.36 kB / 435.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.2812, allocations: 119.1 kB / 435.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.2814, allocations: 91.81 kB / 435.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.2819, allocations: 406.3 kB / 435.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.2821, allocations: 103.7 kB / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.2823, allocations: 159.4 kB / 435.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.2826, allocations: 171.2 kB / 436.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.2826, allocations: 39.94 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.2827, allocations: 32 kB / 436.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.2828, allocations: 79.77 kB / 436.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.2829, allocations: 183.1 kB / 436.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.2834, allocations: 390.7 kB / 436.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2834, allocations: 0 / 436.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2834, allocations: 4 kB / 436.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2834, allocations: 0 / 436.8 MB, free: 1.09 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.0009563/0.2844, allocations: 0.5636 MB / 437.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2844, allocations: 12.03 kB / 437.4 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.451e-05/0.2845, allocations: 70.66 kB / 437.4 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.2846, allocations: 40.7 kB / 437.5 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.285, allocations: 246.5 kB / 437.7 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.285, allocations: 25.03 kB / 437.8 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.2851, allocations: 32.38 kB / 437.8 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.2856, allocations: 294.2 kB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2856, allocations: 0 / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.2856, allocations: 12 kB / 438.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.2856, allocations: 8 kB / 438.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.286, allocations: 242.5 kB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.2879, allocations: 1.092 MB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.2884, allocations: 222.8 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.2888, allocations: 156.8 kB / 439.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.2888, allocations: 0 / 439.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.2888, allocations: 42.5 kB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.092e-06/0.2888, allocations: 4 kB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.0011/0.2899, allocations: 407.9 kB / 440.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.29, allocations: 55.41 kB / 440.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.2902, allocations: 269.8 kB / 440.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.2903, allocations: 29.7 kB / 440.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2904, allocations: 212.3 kB / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.278e-05/0.2905, allocations: 91.27 kB / 440.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2906, allocations: 69.66 kB / 440.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2908, allocations: 338.8 kB / 441.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.2909, allocations: 75.97 kB / 441.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.2911, allocations: 167.1 kB / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.2915, allocations: 262.9 kB / 441.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2915, allocations: 3.938 kB / 441.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006781/0.2921, allocations: 378.8 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2922, allocations: 15.92 kB / 442.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2922, allocations: 0 / 442.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000358/0.2925, allocations: 89.89 kB / 442.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.2928, allocations: 63.91 kB / 442.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/0.2955, allocations: 2.776 MB / 445.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.2957, allocations: 51.78 kB / 445.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.2957, allocations: 15.98 kB / 445.1 MB, free: 8.188 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.0001651/0.2959, allocations: 149.7 kB / 445.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.2959, allocations: 27.8 kB / 445.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.296, allocations: 38.27 kB / 445.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.296, allocations: 0 / 445.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.296, allocations: 4 kB / 445.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.296, allocations: 4 kB / 445.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.2972, allocations: 0.7377 MB / 446.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2972, allocations: 0 / 446.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.2974, allocations: 55.88 kB / 446.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.2977, allocations: 77.64 kB / 446.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.2977, allocations: 4 kB / 446.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.3003, allocations: 2.777 MB / 449 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3003, allocations: 4.031 kB / 449 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007114/0.301, allocations: 472 kB / 449.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.301, allocations: 31.77 kB / 449.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.3011, allocations: 4 kB / 449.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.3013, allocations: 27.97 kB / 449.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.3013, allocations: 23.91 kB / 449.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3014, allocations: 11.98 kB / 449.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.3016, allocations: 189.3 kB / 449.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3016, allocations: 4 kB / 449.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.302, allocations: 91.89 kB / 449.9 MB, free: 3.121 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.001073/0.303, allocations: 1.004 MB / 450.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.3037, allocations: 433.7 kB / 451.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3037, allocations: 7.938 kB / 451.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.304, allocations: 329.3 kB / 451.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.3045, allocations: 59.52 kB / 451.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.3086, allocations: 3.117 MB / 454.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.309, allocations: 0.7717 MB / 455.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.3091, allocations: 26.97 kB / 455.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3093, allocations: 107.4 kB / 455.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3093, allocations: 0 / 455.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04162/0.3509, allocations: 7.166 MB / 462.9 MB, free: 5.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.38, allocations: 7.562 kB / 462.9 MB, free: 5.965 MB / 366.1 MB " [Timeout remaining time 647] (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.789809114066884]