Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 99.45 kB / 17.59 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 191.3 kB / 18.52 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 242.2 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009918/0.000992, allocations: 51.19 kB / 301.3 MB, free: 5.855 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08642/0.08742, allocations: 49.43 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004232/0.09169, allocations: 2.944 MB / 353.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.09318, allocations: 0.7362 MB / 354.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.09347, allocations: 8 kB / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.09368, allocations: 63.42 kB / 354.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.09402, allocations: 103.1 kB / 354.6 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.09441, allocations: 111.8 kB / 354.7 MB, free: 432 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.09486, allocations: 410.3 kB / 355.1 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.09515, allocations: 119.4 kB / 355.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.0954, allocations: 151.4 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.09568, allocations: 175.2 kB / 355.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.09575, allocations: 32 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.09582, allocations: 32 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.09591, allocations: 75.69 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.09609, allocations: 171.1 kB / 355.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.09647, allocations: 370.9 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.09649, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.0965, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.09651, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.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.001142/0.09766, allocations: 0.6355 MB / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.09771, allocations: 15.89 kB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.09781, allocations: 40.47 kB / 356.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.09819, allocations: 291.5 kB / 357.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.09822, allocations: 25.02 kB / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.09828, allocations: 36.31 kB / 357.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.09894, allocations: 349.2 kB / 357.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.09897, allocations: 4 kB / 357.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.09901, allocations: 12 kB / 357.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.09903, allocations: 7.984 kB / 357.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006878/0.09972, allocations: 278.5 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.1016, allocations: 1.178 MB / 359 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009091/0.1026, allocations: 298.7 kB / 359.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/0.1031, allocations: 180.7 kB / 359.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1031, allocations: 0 / 359.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1031, allocations: 42.5 kB / 359.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/0.1032, allocations: 0 / 359.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002844/0.106, allocations: 0.8443 MB / 360.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1061, allocations: 63.34 kB / 360.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.1064, allocations: 266.6 kB / 360.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1065, allocations: 33.7 kB / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.1066, allocations: 199.9 kB / 361 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.1067, allocations: 74.98 kB / 361 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-05/0.1068, allocations: 61.61 kB / 361.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1069, allocations: 338.8 kB / 361.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.1072, allocations: 96.81 kB / 361.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.1075, allocations: 191.9 kB / 361.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005769/0.1081, allocations: 303.3 kB / 362 MB, free: 8.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.1081, allocations: 3.984 kB / 362 MB, free: 8.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001448/0.1096, allocations: 0.522 MB / 362.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1096, allocations: 8 kB / 362.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1096, allocations: 4 kB / 362.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.1103, allocations: 145.6 kB / 362.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.1105, allocations: 55.91 kB / 362.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005276/0.1158, allocations: 3.7 MB / 366.4 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.1161, allocations: 51.64 kB / 366.5 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1161, allocations: 12 kB / 366.5 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000288/0.1164, allocations: 184 kB / 366.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002329/0.1167, allocations: 168.4 kB / 366.8 MB, free: 3.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004149/0.1171, allocations: 263.8 kB / 367.1 MB, free: 3.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.1171, allocations: 3.938 kB / 367.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009511/0.1181, allocations: 416.3 kB / 367.5 MB, free: 2.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1181, allocations: 8 kB / 367.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1181, allocations: 4.188 kB / 367.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/0.1184, allocations: 81.75 kB / 367.6 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.1186, allocations: 67.91 kB / 367.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1774/0.296, allocations: 3.008 MB / 370.7 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.2964, allocations: 32.2 kB / 370.7 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.2965, allocations: 9.75 kB / 370.7 MB, free: 23.91 MB / 302.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.000141/0.2966, allocations: 201.9 kB / 370.9 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.2967, allocations: 27.8 kB / 370.9 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.2968, allocations: 31.14 kB / 371 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2968, allocations: 1.906 kB / 371 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2968, allocations: 2.422 kB / 371 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2968, allocations: 1.266 kB / 371 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.2987, allocations: 0.8203 MB / 371.8 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.2987, allocations: 0.7969 kB / 371.8 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.2989, allocations: 31.47 kB / 371.8 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.2994, allocations: 139 kB / 372 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2994, allocations: 3.75 kB / 372 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003872/0.3033, allocations: 3.421 MB / 375.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3034, allocations: 0 / 375.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.3051, allocations: 0.6077 MB / 376 MB, free: 20.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3052, allocations: 113.4 kB / 376.1 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.3053, allocations: 11.89 kB / 376.1 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.3055, allocations: 24.16 kB / 376.1 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.3056, allocations: 19.5 kB / 376.2 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3056, allocations: 8.062 kB / 376.2 MB, free: 20.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.3058, allocations: 193.9 kB / 376.4 MB, free: 20.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3058, allocations: 1.281 kB / 376.4 MB, free: 20.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007691/0.3066, allocations: 161.4 kB / 376.5 MB, free: 20.39 MB / 302.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.0001358/0.3068, allocations: 110.4 kB / 376.6 MB, free: 20.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.3084, allocations: 0.906 MB / 377.5 MB, free: 19.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3084, allocations: 0 / 377.5 MB, free: 19.85 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.3089, allocations: 357.4 kB / 377.9 MB, free: 19.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.3093, allocations: 49.2 kB / 377.9 MB, free: 19.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.3105, allocations: 0.625 MB / 378.5 MB, free: 19.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.3108, allocations: 0.7702 MB / 379.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.3108, allocations: 27.31 kB / 379.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3108, allocations: 0 / 379.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of Templates: time 0.008587/0.3194, allocations: 5.728 MB / 385.1 MB, free: 17.38 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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