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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 115.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 208.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3028, allocations: 50.54 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004104/0.3069, allocations: 2.963 MB / 412.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3084, allocations: 0.7595 MB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.3087, allocations: 8 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.3089, allocations: 55.44 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.3092, allocations: 107.1 kB / 413.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.3095, allocations: 123.8 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.3099, allocations: 402.3 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.3102, allocations: 127.4 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.3103, allocations: 151.4 kB / 414.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.3106, allocations: 171.2 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.3106, allocations: 36 kB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-05/0.3107, allocations: 32 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.3108, allocations: 79.67 kB / 415 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.3109, allocations: 163.2 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.3113, allocations: 383.7 kB / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3113, allocations: 0 / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3113, allocations: 0 / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3113, allocations: 0 / 415.5 MB, free: 12 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00107/0.3124, allocations: 0.6432 MB / 416.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3125, allocations: 12.03 kB / 416.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.084e-05/0.3125, allocations: 36.56 kB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.313, allocations: 284.5 kB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.313, allocations: 21.03 kB / 416.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.3131, allocations: 32.38 kB / 416.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.3137, allocations: 349.4 kB / 416.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3138, allocations: 0 / 416.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.3138, allocations: 12 kB / 416.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.3138, allocations: 8 kB / 416.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006703/0.3145, allocations: 290.4 kB / 417.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.3163, allocations: 1.166 MB / 418.3 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/0.3171, allocations: 302.7 kB / 418.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.3176, allocations: 184.7 kB / 418.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3177, allocations: 3.984 kB / 418.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3177, allocations: 38.56 kB / 418.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.3177, allocations: 0 / 418.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.002577/0.3203, allocations: 0.8466 MB / 419.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3203, allocations: 59.34 kB / 419.7 MB, free: 7.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.3206, allocations: 278.6 kB / 420 MB, free: 7.215 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3206, allocations: 33.64 kB / 420.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3207, allocations: 203.8 kB / 420.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.3208, allocations: 78.98 kB / 420.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.3209, allocations: 53.7 kB / 420.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.321, allocations: 338.8 kB / 420.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.3213, allocations: 104.7 kB / 420.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.3216, allocations: 187.8 kB / 421 MB, free: 6.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.3221, allocations: 308.9 kB / 421.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3221, allocations: 0 / 421.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001379/0.3235, allocations: 0.5292 MB / 421.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3236, allocations: 11.98 kB / 421.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3236, allocations: 4 kB / 421.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/0.3241, allocations: 141.7 kB / 422 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.3243, allocations: 55.91 kB / 422 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004792/0.3291, allocations: 3.693 MB / 425.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.3294, allocations: 47.86 kB / 425.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.3294, allocations: 16 kB / 425.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002684/0.3297, allocations: 184.2 kB / 426 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002224/0.33, allocations: 171.9 kB / 426.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003942/0.3304, allocations: 267.7 kB / 426.4 MB, free: 336 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.3304, allocations: 0 / 426.4 MB, free: 336 kB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009245/0.3313, allocations: 414.7 kB / 426.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3313, allocations: 8.094 kB / 426.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3313, allocations: 8 kB / 426.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/0.3316, allocations: 81.64 kB / 426.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.3318, allocations: 59.92 kB / 427 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/0.3347, allocations: 3.009 MB / 430 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.3349, allocations: 31.73 kB / 430 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.3349, allocations: 19.94 kB / 430 MB, free: 12.41 MB / 350.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.0001485/0.3351, allocations: 200.1 kB / 430.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.3352, allocations: 23.72 kB / 430.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.3352, allocations: 38.17 kB / 430.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3352, allocations: 4 kB / 430.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3352, allocations: 0 / 430.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3353, allocations: 0 / 430.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.3369, allocations: 0.8197 MB / 431.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3369, allocations: 0 / 431.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3371, allocations: 27.98 kB / 431.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.3375, allocations: 145.5 kB / 431.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3376, allocations: 4 kB / 431.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003953/0.3415, allocations: 3.407 MB / 434.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.3415, allocations: 11.97 kB / 434.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.343, allocations: 0.6157 MB / 435.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-05/0.3431, allocations: 104.8 kB / 435.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.3431, allocations: 7.984 kB / 435.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.3434, allocations: 28.05 kB / 435.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.3434, allocations: 19.97 kB / 435.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.3435, allocations: 8 kB / 435.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.3436, allocations: 197.9 kB / 435.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3436, allocations: 0 / 435.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000643/0.3443, allocations: 155.7 kB / 435.8 MB, free: 6.211 MB / 350.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.0001333/0.3444, allocations: 107.2 kB / 435.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.346, allocations: 0.8973 MB / 436.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.346, allocations: 0 / 436.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.3465, allocations: 349 kB / 437.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.3469, allocations: 47.72 kB / 437.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3482, allocations: 0.6357 MB / 437.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3485, allocations: 0.7648 MB / 438.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.3486, allocations: 23.44 kB / 438.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3486, allocations: 0 / 438.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of Templates: time 0.007316/0.3559, allocations: 5.8 MB / 444.4 MB, free: 13.46 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) "" Variables in the reference:time,c.v,opAmp1.out.v,opAmp1.out.i,opAmp2.out.v,opAmp2.out.i Variables in the result:c.v,opAmp1.out.i,opAmp1.out.v,opAmp2.out.i,opAmp2.out.v,time