Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 116 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.595/1.595, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 51.92 kB / 374.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1022, allocations: 53.33 MB / 427.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004235/0.1064, allocations: 2.969 MB / 430.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1078, allocations: 0.7674 MB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.108, allocations: 11.94 kB / 431.3 MB, free: 472 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.1081, allocations: 59.42 kB / 431.3 MB, free: 412 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1084, allocations: 107.1 kB / 431.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1087, allocations: 123.8 kB / 431.6 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2136/0.3222, allocations: 400.6 kB / 432 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.3225, allocations: 100.2 kB / 432.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.3228, allocations: 149.1 kB / 432.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.3231, allocations: 173.5 kB / 432.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.138e-05/0.3231, allocations: 33.03 kB / 432.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.3232, allocations: 33.31 kB / 432.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.3233, allocations: 79.44 kB / 432.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.3235, allocations: 170.6 kB / 432.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.3239, allocations: 377.6 kB / 433 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3239, allocations: 1.844 kB / 433 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3239, allocations: 0 / 433 MB, free: 8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.3239, allocations: 0 / 433 MB, free: 8 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001001/0.3249, allocations: 0.6447 MB / 433.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.325, allocations: 10.84 kB / 433.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.023e-05/0.325, allocations: 37.61 kB / 433.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.3254, allocations: 293.1 kB / 434 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.3255, allocations: 20.72 kB / 434 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.3255, allocations: 31.31 kB / 434.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006163/0.3261, allocations: 339.2 kB / 434.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3261, allocations: 5.094 kB / 434.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.3262, allocations: 12.16 kB / 434.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.3262, allocations: 7.781 kB / 434.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/0.3269, allocations: 289.5 kB / 434.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.3287, allocations: 1.172 MB / 435.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008993/0.3296, allocations: 285.7 kB / 436.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/0.3301, allocations: 169.6 kB / 436.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.3301, allocations: 4.875 kB / 436.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3301, allocations: 34.52 kB / 436.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.943e-06/0.3301, allocations: 5.125 kB / 436.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.002777/0.3329, allocations: 0.8467 MB / 437.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3329, allocations: 59.09 kB / 437.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.3333, allocations: 281.8 kB / 437.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.3333, allocations: 28.83 kB / 437.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.3335, allocations: 211.1 kB / 437.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/0.3335, allocations: 69.77 kB / 437.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.3336, allocations: 57.73 kB / 437.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.3337, allocations: 332.2 kB / 438.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.334, allocations: 111.9 kB / 438.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.3343, allocations: 196.2 kB / 438.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.3349, allocations: 292.1 kB / 438.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3349, allocations: 5.297 kB / 438.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001496/0.3364, allocations: 0.5197 MB / 439.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.3364, allocations: 8.062 kB / 439.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.3364, allocations: 2.844 kB / 439.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/0.337, allocations: 146.8 kB / 439.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.3372, allocations: 56.78 kB / 439.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004958/0.3422, allocations: 3.7 MB / 443.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.3426, allocations: 52.36 kB / 443.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.3426, allocations: 13.62 kB / 443.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003561/0.3429, allocations: 181.8 kB / 443.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003169/0.3433, allocations: 169.8 kB / 443.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004848/0.3437, allocations: 267 kB / 443.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.3437, allocations: 0.7969 kB / 443.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.001015/0.3448, allocations: 416.7 kB / 444.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3448, allocations: 7.094 kB / 444.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3448, allocations: 3.984 kB / 444.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.3451, allocations: 92.11 kB / 444.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.3453, allocations: 57.39 kB / 444.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/0.3482, allocations: 3.017 MB / 447.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.3485, allocations: 29.34 kB / 447.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.3485, allocations: 10.47 kB / 447.5 MB, free: 14.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.3487, allocations: 201.6 kB / 447.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.3488, allocations: 32.52 kB / 447.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.3489, allocations: 27.45 kB / 447.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3489, allocations: 10.94 kB / 447.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3489, allocations: 0 / 447.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3489, allocations: 2.031 kB / 447.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.3507, allocations: 0.8189 MB / 448.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3507, allocations: 0 / 448.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.3509, allocations: 26.27 kB / 448.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/0.3514, allocations: 139 kB / 448.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3514, allocations: 1.719 kB / 448.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00476/0.3561, allocations: 3.421 MB / 452.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3561, allocations: 1.656 kB / 452.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.3578, allocations: 0.6158 MB / 452.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.3579, allocations: 101 kB / 452.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.3579, allocations: 5.953 kB / 452.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.3582, allocations: 29.09 kB / 453 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.3583, allocations: 18.41 kB / 453 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.3583, allocations: 4.781 kB / 453 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.3585, allocations: 190.6 kB / 453.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3585, allocations: 5.156 kB / 453.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000791/0.3593, allocations: 169 kB / 453.3 MB, free: 10.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.3595, allocations: 104.6 kB / 453.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.3615, allocations: 0.8792 MB / 454.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3615, allocations: 5.438 kB / 454.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005763/0.362, allocations: 351.6 kB / 454.7 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.3625, allocations: 46.8 kB / 454.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.3639, allocations: 0.6212 MB / 455.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.3643, allocations: 0.7671 MB / 456.1 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.3644, allocations: 26.62 kB / 456.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3644, allocations: 0 / 456.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of Templates: time 0.00987/0.3743, allocations: 5.783 MB / 461.9 MB, free: 6.773 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 8.350179341010517]