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.0009437/0.0009437, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.002108, allocations: 449.7 kB / 10.37 MB, free: 320 kB / 10.45 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.0007339/0.0007339, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009873/0.001721, allocations: 463.6 kB / 11.72 MB, free: 2.449 MB / 13.93 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 0.9782/0.9782, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0854/1.064, allocations: 53.85 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.594e-05, allocations: 2.312 kB / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003348/0.003364, allocations: 3.02 MB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.004523, allocations: 0.7554 MB / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.004663, allocations: 11.94 kB / 248.8 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.004772, allocations: 59.38 kB / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.004973, allocations: 119 kB / 249 MB, free: 9.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.005138, allocations: 99.78 kB / 249.1 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.0055, allocations: 426 kB / 249.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.005674, allocations: 90.47 kB / 249.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.005914, allocations: 248.3 kB / 249.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.006084, allocations: 135.6 kB / 250 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.006132, allocations: 32 kB / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.015e-05/0.006183, allocations: 39.94 kB / 250.1 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.006235, allocations: 59.75 kB / 250.1 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.006343, allocations: 99.81 kB / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.006617, allocations: 235.1 kB / 250.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.48e-05/0.006632, allocations: 0 / 250.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006632, allocations: 0 / 250.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.006649, allocations: 0 / 250.5 MB, free: 8.172 MB / 250.7 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.0007698/0.007419, allocations: 0.6166 MB / 251.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.007448, allocations: 8.031 kB / 251.1 MB, free: 7.523 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.007521, allocations: 52.89 kB / 251.1 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.007789, allocations: 209.1 kB / 251.3 MB, free: 7.242 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.007811, allocations: 25.03 kB / 251.4 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.007854, allocations: 32.38 kB / 251.4 MB, free: 7.188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.008151, allocations: 339 kB / 251.7 MB, free: 6.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.008162, allocations: 4.188 kB / 251.7 MB, free: 6.816 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.008184, allocations: 16.38 kB / 251.7 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.008194, allocations: 11.94 kB / 251.8 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.008332, allocations: 84.55 kB / 251.8 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.009413, allocations: 0.7703 MB / 252.6 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.009705, allocations: 166.4 kB / 252.8 MB, free: 5.723 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.0099, allocations: 116.8 kB / 252.9 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.009927, allocations: 8 kB / 252.9 MB, free: 5.598 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.009952, allocations: 34.56 kB / 252.9 MB, free: 5.555 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.009954, allocations: 0 / 252.9 MB, free: 5.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005456/0.0105, allocations: 264 kB / 253.2 MB, free: 5.285 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.01053, allocations: 55.41 kB / 253.2 MB, free: 5.219 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.01069, allocations: 240.9 kB / 253.5 MB, free: 4.969 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.0107, allocations: 33.7 kB / 253.5 MB, free: 4.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.0108, allocations: 204.2 kB / 253.7 MB, free: 4.723 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.01086, allocations: 91.27 kB / 253.8 MB, free: 4.633 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.01094, allocations: 69.61 kB / 253.9 MB, free: 4.559 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.01103, allocations: 334.8 kB / 254.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/0.01107, allocations: 31.98 kB / 254.2 MB, free: 4.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.731e-05/0.01117, allocations: 123 kB / 254.3 MB, free: 4.031 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.01135, allocations: 194.8 kB / 254.5 MB, free: 3.801 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.01135, allocations: 4 kB / 254.5 MB, free: 3.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003352/0.01169, allocations: 254.8 kB / 254.8 MB, free: 3.535 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.0117, allocations: 8 kB / 254.8 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01171, allocations: 4 kB / 254.8 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/0.01201, allocations: 93.98 kB / 254.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.01224, allocations: 79.89 kB / 255 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.01363, allocations: 2.455 MB / 257.4 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.01376, allocations: 35.78 kB / 257.5 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.01378, allocations: 8 kB / 257.5 MB, free: 0.668 MB / 250.7 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 9.538e-05/0.01387, allocations: 137.7 kB / 257.6 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.01391, allocations: 28.03 kB / 257.6 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.01395, allocations: 34.27 kB / 257.7 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.01395, allocations: 4 kB / 257.7 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01395, allocations: 0 / 257.7 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01396, allocations: 0 / 257.7 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.01452, allocations: 441.3 kB / 258.1 MB, free: 0 / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01452, allocations: 0 / 258.1 MB, free: 0 / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.0147, allocations: 59.98 kB / 258.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.01473, allocations: 27.73 kB / 258.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002277/0.01495, allocations: 85.61 kB / 258.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.01497, allocations: 15.97 kB / 258.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.01623, allocations: 2.433 MB / 260.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.01623, allocations: 3.938 kB / 260.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.01655, allocations: 328.4 kB / 261 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.01658, allocations: 4 kB / 261 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.0167, allocations: 19.98 kB / 261.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.01675, allocations: 23.95 kB / 261.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.01676, allocations: 8 kB / 261.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.005e-05/0.01684, allocations: 86.7 kB / 261.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01684, allocations: 0 / 261.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.01716, allocations: 95.88 kB / 261.3 MB, free: 12.61 MB / 266.7 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 9.018e-05/0.01725, allocations: 92.42 kB / 261.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.0176, allocations: 377.7 kB / 261.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/0.01761, allocations: 12.69 kB / 261.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.01781, allocations: 318 kB / 262 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.01808, allocations: 75.52 kB / 262.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.02066, allocations: 0.5718 MB / 262.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.469e-05/0.02073, allocations: 88.62 kB / 262.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.547e-05/0.02083, allocations: 38.98 kB / 262.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.02097, allocations: 107.3 kB / 262.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02097, allocations: 0 / 262.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Templates: time 0.007041/0.02801, allocations: 4.224 MB / 267.1 MB, free: 6.668 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.619885134510696]