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.001883/0.001883, allocations: 87.62 kB / 20.96 MB, free: 3.312 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.001951/0.001951, allocations: 156.9 kB / 24.27 MB, free: 8 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.605/1.605, allocations: 177 MB / 204.4 MB, free: 5.629 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.503e-06/1.503e-06, allocations: 0 / 272.3 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.805e-05, allocations: 3.578 kB / 272.3 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005086/0.005114, allocations: 2.946 MB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.006603, allocations: 0.7244 MB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.00675, allocations: 11.94 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.006927, allocations: 63.42 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.007171, allocations: 115 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.007383, allocations: 95.78 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005078/0.00789, allocations: 422 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.008109, allocations: 103.8 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.008408, allocations: 219.5 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.008628, allocations: 135.6 kB / 277.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.008691, allocations: 32 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.008762, allocations: 36 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.289e-05/0.008855, allocations: 71.69 kB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.009024, allocations: 131.6 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.009526, allocations: 394.6 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.009529, allocations: 0 / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.081e-06/0.009536, allocations: 3.984 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.00954, allocations: 0 / 277.7 MB, free: 12.26 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.001037/0.01058, allocations: 0.6866 MB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.01061, allocations: 11.98 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.01072, allocations: 68.7 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.01112, allocations: 248 kB / 278.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.01115, allocations: 25.03 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.01121, allocations: 32.38 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000614/0.01182, allocations: 415.1 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.01183, allocations: 4.188 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.01186, allocations: 16.38 kB / 279.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.01188, allocations: 11.94 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.0123, allocations: 222.5 kB / 279.4 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.01432, allocations: 1.093 MB / 280.5 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.01487, allocations: 239.2 kB / 280.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.01527, allocations: 171.5 kB / 280.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.01529, allocations: 4 kB / 280.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.01533, allocations: 41.39 kB / 281 MB, free: 8.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.132e-06/0.01533, allocations: 0 / 281 MB, free: 8.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001059/0.01639, allocations: 381 kB / 281.3 MB, free: 8.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.01644, allocations: 59.34 kB / 281.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.01682, allocations: 340.2 kB / 281.7 MB, free: 8.008 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.01685, allocations: 33.7 kB / 281.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.01718, allocations: 266.9 kB / 282 MB, free: 7.703 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.894e-05/0.01727, allocations: 91.28 kB / 282.1 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.01739, allocations: 87.3 kB / 282.2 MB, free: 7.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002935/0.01769, allocations: 0.5118 MB / 282.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.01783, allocations: 71.97 kB / 282.8 MB, free: 6.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.01811, allocations: 211.9 kB / 283 MB, free: 6.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.01854, allocations: 299.7 kB / 283.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01854, allocations: 0 / 283.3 MB, free: 6.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007727/0.01932, allocations: 392.7 kB / 283.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01933, allocations: 8 kB / 283.7 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01934, allocations: 4 kB / 283.7 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005104/0.01985, allocations: 107.3 kB / 283.8 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.02012, allocations: 75.78 kB / 283.9 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.02372, allocations: 3.732 MB / 287.6 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.02396, allocations: 43.7 kB / 287.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.02398, allocations: 16 kB / 287.7 MB, free: 1.676 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.0002213/0.0242, allocations: 200.4 kB / 287.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.02428, allocations: 39.81 kB / 287.9 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-05/0.02436, allocations: 38.2 kB / 287.9 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.02437, allocations: 4 kB / 287.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.02437, allocations: 4.031 kB / 287.9 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.02438, allocations: 3.938 kB / 287.9 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.02566, allocations: 0.6918 MB / 288.6 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/0.02566, allocations: 4 kB / 288.6 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.02587, allocations: 43.91 kB / 288.7 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.0263, allocations: 103.3 kB / 288.8 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.02632, allocations: 8 kB / 288.8 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003536/0.02986, allocations: 3.737 MB / 292.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02986, allocations: 0 / 292.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008133/0.03067, allocations: 0.5127 MB / 293 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.03073, allocations: 35.84 kB / 293.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.03076, allocations: 0 / 293.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.03099, allocations: 35.91 kB / 293.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.03106, allocations: 23.97 kB / 293.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.03108, allocations: 7.984 kB / 293.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.03131, allocations: 229.1 kB / 293.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03131, allocations: 0 / 293.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004565/0.03176, allocations: 99.83 kB / 293.5 MB, free: 11.5 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.0001619/0.03193, allocations: 115.2 kB / 293.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008068/0.03273, allocations: 0.5625 MB / 294.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.03274, allocations: 0 / 294.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.03324, allocations: 467.9 kB / 294.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.03365, allocations: 48.62 kB / 294.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.03493, allocations: 0.627 MB / 295.3 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.03512, allocations: 172.9 kB / 295.4 MB, free: 9.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.03523, allocations: 34.95 kB / 295.5 MB, free: 9.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.0353, allocations: 24.5 kB / 295.5 MB, free: 9.336 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0353, allocations: 4 kB / 295.5 MB, free: 9.332 MB / 282.7 MB Notification: Performance of Templates: time 0.009551/0.04485, allocations: 3.78 MB / 299.3 MB, free: 5.594 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=240 -emit_protected -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","/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.821419931016862]