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.001598/0.001598, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 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.002164/0.002164, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 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.527/1.527, allocations: 177 MB / 204.4 MB, free: 5.598 MB / 186.7 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: 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.944e-06/1.944e-06, allocations: 0 / 272.3 MB, free: 1.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.664e-05, allocations: 2.312 kB / 272.3 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004977/0.005014, allocations: 2.758 MB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.007066, allocations: 0.7166 MB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.007257, allocations: 7.938 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.007473, allocations: 63.42 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.007751, allocations: 119 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.008039, allocations: 91.8 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005334/0.008573, allocations: 422 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.008889, allocations: 103.8 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.009215, allocations: 227.4 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.009459, allocations: 127.6 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.23e-05/0.009522, allocations: 32 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.009589, allocations: 36 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.312e-05/0.009682, allocations: 79.67 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.009871, allocations: 127.6 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005342/0.0104, allocations: 390.7 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.01041, allocations: 0 / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01041, allocations: 0 / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.01042, allocations: 0 / 277.5 MB, free: 12.44 MB / 266.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.001151/0.01157, allocations: 0.5675 MB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.01161, allocations: 11.98 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.01179, allocations: 68.7 kB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.01234, allocations: 252.9 kB / 278.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.01238, allocations: 25.03 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/0.01246, allocations: 40.31 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.01317, allocations: 415.2 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.01318, allocations: 192 / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.01322, allocations: 16.36 kB / 278.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.01324, allocations: 11.94 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.01369, allocations: 242.5 kB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.01583, allocations: 0.9653 MB / 280.1 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.01646, allocations: 226.8 kB / 280.3 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.0169, allocations: 156.7 kB / 280.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.01693, allocations: 4 kB / 280.5 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.01698, allocations: 42.55 kB / 280.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.843e-06/0.01698, allocations: 0 / 280.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001335/0.01831, allocations: 411.2 kB / 280.9 MB, free: 8.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.01838, allocations: 63.28 kB / 281 MB, free: 8.766 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.01873, allocations: 253.8 kB / 281.2 MB, free: 8.512 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.01877, allocations: 29.7 kB / 281.3 MB, free: 8.477 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.01898, allocations: 216.2 kB / 281.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.377e-05/0.01907, allocations: 83.27 kB / 281.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.01919, allocations: 69.66 kB / 281.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.01939, allocations: 334.8 kB / 282 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.01954, allocations: 75.97 kB / 282 MB, free: 7.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.01979, allocations: 167.1 kB / 282.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006796/0.02047, allocations: 259 kB / 282.4 MB, free: 7.195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02047, allocations: 0 / 282.4 MB, free: 7.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008078/0.02128, allocations: 394.8 kB / 282.8 MB, free: 6.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.0213, allocations: 11.98 kB / 282.8 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.02131, allocations: 4 kB / 282.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007007/0.02201, allocations: 121.8 kB / 283 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.02228, allocations: 71.84 kB / 283 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/0.02571, allocations: 2.726 MB / 285.8 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.02596, allocations: 47.8 kB / 285.8 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.02598, allocations: 8 kB / 285.8 MB, free: 3.598 MB / 266.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 0.0002344/0.02621, allocations: 153.7 kB / 286 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.02629, allocations: 35.86 kB / 286 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.02637, allocations: 38.2 kB / 286 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.02638, allocations: 8 kB / 286.1 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.02638, allocations: 0 / 286.1 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.02639, allocations: 7.922 kB / 286.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.0277, allocations: 0.6178 MB / 286.7 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.0277, allocations: 0 / 286.7 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.02792, allocations: 39.92 kB / 286.7 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005941/0.02851, allocations: 121.6 kB / 286.8 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.02853, allocations: 4 kB / 286.8 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003563/0.0321, allocations: 2.723 MB / 289.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.0321, allocations: 4.125 kB / 289.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008479/0.03295, allocations: 468.1 kB / 290 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.03301, allocations: 28 kB / 290 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.03304, allocations: 8 kB / 290.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.03327, allocations: 23.92 kB / 290.1 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.03336, allocations: 27.94 kB / 290.1 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.03339, allocations: 20.06 kB / 290.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002177/0.03361, allocations: 177.2 kB / 290.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03361, allocations: 0 / 290.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004746/0.03408, allocations: 99.78 kB / 290.4 MB, free: 14.71 MB / 282.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 0.0001964/0.03428, allocations: 115.2 kB / 290.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007659/0.03505, allocations: 441 kB / 290.9 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03505, allocations: 0 / 290.9 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004749/0.03552, allocations: 325.1 kB / 291.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.03603, allocations: 44.47 kB / 291.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.03765, allocations: 0.6311 MB / 291.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.03789, allocations: 165.2 kB / 292.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.03802, allocations: 30.97 kB / 292.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.0381, allocations: 28.5 kB / 292.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.0381, allocations: 0 / 292.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of Templates: time 0.01006/0.04816, allocations: 3.748 MB / 295.9 MB, free: 9.141 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/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: 4.780523422989063]