Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008287/0.0008287, allocations: 91.61 kB / 22.18 MB, free: 2.371 MB / 18.57 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.0009049/0.0009049, allocations: 160.3 kB / 25.45 MB, free: 9.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8824/0.8824, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 299.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.58e-05, allocations: 2.281 kB / 299.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.002721/0.002747, allocations: 2.691 MB / 302.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003845, allocations: 0.7487 MB / 303.2 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.003981, allocations: 15.88 kB / 303.2 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.004132, allocations: 55.48 kB / 303.3 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.00429, allocations: 111 kB / 303.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.004555, allocations: 127.7 kB / 303.5 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000306/0.004861, allocations: 426.1 kB / 303.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.005067, allocations: 83.84 kB / 304 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.005263, allocations: 231.4 kB / 304.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.005392, allocations: 123.6 kB / 304.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.005439, allocations: 36 kB / 304.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.131e-05/0.00547, allocations: 32 kB / 304.4 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.005516, allocations: 75.72 kB / 304.5 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.005631, allocations: 119.7 kB / 304.6 MB, free: 2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.005926, allocations: 386.7 kB / 305 MB, free: 1.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.00593, allocations: 4 kB / 305 MB, free: 1.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.005932, allocations: 3.938 kB / 305 MB, free: 1.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005937, allocations: 0 / 305 MB, free: 1.613 MB / 282.7 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.0008448/0.006781, allocations: 0.5754 MB / 305.6 MB, free: 1.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.006825, allocations: 11.98 kB / 305.6 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.006892, allocations: 40.73 kB / 305.6 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.007288, allocations: 229 kB / 305.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.007311, allocations: 25.03 kB / 305.9 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.007356, allocations: 28.38 kB / 305.9 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.007831, allocations: 383.7 kB / 306.3 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.007845, allocations: 4.125 kB / 306.3 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.00787, allocations: 12.38 kB / 306.3 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.007879, allocations: 7.938 kB / 306.3 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.008285, allocations: 298.5 kB / 306.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.009578, allocations: 0.9184 MB / 307.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.01008, allocations: 270.8 kB / 307.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.01034, allocations: 160.7 kB / 307.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.01036, allocations: 8 kB / 307.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.01038, allocations: 34.56 kB / 308 MB, free: 14.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.735e-06/0.01038, allocations: 7.938 kB / 308 MB, free: 14.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001232/0.01161, allocations: 0.6626 MB / 308.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.01165, allocations: 55.41 kB / 308.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.01182, allocations: 253.5 kB / 308.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.01184, allocations: 29.7 kB / 309 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.01194, allocations: 208.2 kB / 309.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.01198, allocations: 71.39 kB / 309.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.01204, allocations: 53.7 kB / 309.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.01212, allocations: 342.8 kB / 309.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.01227, allocations: 96.8 kB / 309.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.01243, allocations: 183 kB / 309.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.01272, allocations: 290.7 kB / 310.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01272, allocations: 0 / 310.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006681/0.01339, allocations: 0.4988 MB / 310.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01341, allocations: 4 kB / 310.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.01342, allocations: 4 kB / 310.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/0.01403, allocations: 133.6 kB / 310.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.01414, allocations: 51.91 kB / 310.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.01669, allocations: 3.382 MB / 314.2 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.01684, allocations: 51.7 kB / 314.3 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.01685, allocations: 15.98 kB / 314.3 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001433/0.017, allocations: 168 kB / 314.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001039/0.0171, allocations: 151.6 kB / 314.6 MB, free: 7.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001813/0.01728, allocations: 227.1 kB / 314.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.01728, allocations: 8 kB / 314.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003013/0.01758, allocations: 310.6 kB / 315.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.01759, allocations: 4 kB / 315.2 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.0176, allocations: 4.375 kB / 315.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.953e-05/0.0177, allocations: 53.67 kB / 315.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.0178, allocations: 59.92 kB / 315.3 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.01927, allocations: 2.691 MB / 318 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.271e-05/0.01937, allocations: 31.92 kB / 318 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.01938, allocations: 12 kB / 318 MB, free: 3.754 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.01948, allocations: 200.1 kB / 318.2 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.01951, allocations: 23.86 kB / 318.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.01955, allocations: 30.11 kB / 318.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.01955, allocations: 7.938 kB / 318.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.01955, allocations: 4 kB / 318.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.01956, allocations: 0 / 318.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007859/0.02034, allocations: 0.6866 MB / 319 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.02034, allocations: 0 / 319 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-05/0.02042, allocations: 27.92 kB / 319 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002251/0.02064, allocations: 125.6 kB / 319.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.02065, allocations: 4 kB / 319.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.02287, allocations: 3.359 MB / 322.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02287, allocations: 0 / 322.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.02352, allocations: 0.564 MB / 323 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.02355, allocations: 27.81 kB / 323.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.02356, allocations: 4 kB / 323.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.02367, allocations: 23.98 kB / 323.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.02372, allocations: 27.83 kB / 323.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.02373, allocations: 12.06 kB / 323.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.02384, allocations: 173.2 kB / 323.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02384, allocations: 0 / 323.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004954/0.02434, allocations: 159.7 kB / 323.4 MB, free: 14.03 MB / 314.7 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001111/0.02445, allocations: 95.25 kB / 323.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008677/0.02531, allocations: 0.8616 MB / 324.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02532, allocations: 0 / 324.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.02568, allocations: 418.5 kB / 324.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.02623, allocations: 48.41 kB / 324.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007836/0.02701, allocations: 0.5746 MB / 325.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.786e-05/0.02711, allocations: 168.4 kB / 325.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.02715, allocations: 20.5 kB / 325.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of SimCode: time 6.82e-07/0.02715, allocations: 0 / 325.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of Templates: time 0.005/0.03215, allocations: 5.734 MB / 331.4 MB, free: 5.973 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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 [Calling sys.exit(0), Time elapsed: 4.628107012249529]