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.001351/0.001351, allocations: 115.1 kB / 17.29 MB, free: 6.219 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.001543/0.001543, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.35/1.35, allocations: 222.9 MB / 241.9 MB, free: 15.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008683/0.0008683, allocations: 51.89 kB / 300.8 MB, free: 6.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09851, allocations: 49.45 MB / 350.3 MB, free: 4.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004154/0.1027, allocations: 2.974 MB / 353.2 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1043, allocations: 0.7285 MB / 354 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.1046, allocations: 4 kB / 354 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.1049, allocations: 43.62 kB / 354 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.1052, allocations: 83.36 kB / 354.1 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1055, allocations: 115.8 kB / 354.2 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.106, allocations: 402.3 kB / 354.6 MB, free: 368 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.1063, allocations: 119.4 kB / 354.7 MB, free: 248 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.1065, allocations: 155.4 kB / 354.9 MB, free: 92 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1067, allocations: 171.3 kB / 355 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.1068, allocations: 32 kB / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.405e-05/0.1069, allocations: 32 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.026e-05/0.1069, allocations: 75.64 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.1071, allocations: 179.1 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1074, allocations: 283.5 kB / 355.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1074, allocations: 0 / 355.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1074, allocations: 0 / 355.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1074, allocations: 0 / 355.6 MB, free: 15.33 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.0009627/0.1084, allocations: 0.6355 MB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1084, allocations: 23.83 kB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.564e-05/0.1085, allocations: 36.47 kB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1088, allocations: 291.5 kB / 356.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1088, allocations: 21.03 kB / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.1089, allocations: 28.38 kB / 356.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/0.1095, allocations: 349.3 kB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1095, allocations: 4 kB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.1096, allocations: 12 kB / 357 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1096, allocations: 8 kB / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006227/0.1102, allocations: 286.5 kB / 357.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.112, allocations: 1.178 MB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008057/0.1128, allocations: 298.7 kB / 358.8 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.1132, allocations: 180.8 kB / 358.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.1133, allocations: 7.984 kB / 358.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1133, allocations: 34.56 kB / 359 MB, free: 11.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/0.1133, allocations: 0 / 359 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002449/0.1157, allocations: 0.8443 MB / 359.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1158, allocations: 59.34 kB / 359.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.1161, allocations: 274.6 kB / 360.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1161, allocations: 29.7 kB / 360.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1162, allocations: 207.9 kB / 360.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.1163, allocations: 67 kB / 360.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.1164, allocations: 57.61 kB / 360.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1165, allocations: 338.8 kB / 360.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.1168, allocations: 104.8 kB / 360.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.1171, allocations: 184 kB / 361.1 MB, free: 9.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.1177, allocations: 301.2 kB / 361.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1177, allocations: 0 / 361.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001357/0.1191, allocations: 0.5256 MB / 361.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1191, allocations: 8 kB / 361.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.1191, allocations: 7.984 kB / 362 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.1197, allocations: 137.7 kB / 362.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1199, allocations: 59.91 kB / 362.1 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005042/0.1249, allocations: 3.697 MB / 365.8 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.1252, allocations: 55.52 kB / 365.9 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1252, allocations: 15.94 kB / 365.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002787/0.1255, allocations: 187.9 kB / 366.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000228/0.1257, allocations: 180.4 kB / 366.3 MB, free: 3.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004037/0.1261, allocations: 263.8 kB / 366.5 MB, free: 3.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.315e-06/0.1262, allocations: 0 / 366.5 MB, free: 3.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0008853/0.1271, allocations: 406.8 kB / 366.9 MB, free: 3.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1271, allocations: 11.98 kB / 366.9 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.1271, allocations: 0 / 366.9 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.1274, allocations: 85.7 kB / 367 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.1276, allocations: 63.91 kB / 367.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1732/0.3008, allocations: 3.013 MB / 370.1 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.3011, allocations: 31.03 kB / 370.1 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.3012, allocations: 11 kB / 370.1 MB, free: 24.3 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.0001279/0.3013, allocations: 205.5 kB / 370.3 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.3014, allocations: 23.56 kB / 370.4 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.749e-05/0.3015, allocations: 31.47 kB / 370.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3015, allocations: 2.672 kB / 370.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3015, allocations: 0 / 370.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3015, allocations: 3.344 kB / 370.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.3033, allocations: 0.8185 MB / 371.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3033, allocations: 0 / 371.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.3035, allocations: 36.03 kB / 371.3 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000481/0.3039, allocations: 137.7 kB / 371.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.304, allocations: 4.469 kB / 371.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003711/0.3077, allocations: 3.415 MB / 374.8 MB, free: 21.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3077, allocations: 0.6094 kB / 374.8 MB, free: 21.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.3092, allocations: 0.6178 MB / 375.4 MB, free: 20.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.3093, allocations: 100.7 kB / 375.5 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.3093, allocations: 9.766 kB / 375.5 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.3095, allocations: 29 kB / 375.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.3096, allocations: 16.41 kB / 375.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.3096, allocations: 5.656 kB / 375.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.3098, allocations: 194.5 kB / 375.8 MB, free: 20.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3098, allocations: 3.438 kB / 375.8 MB, free: 20.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006698/0.3105, allocations: 161.8 kB / 375.9 MB, free: 20.79 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.0001252/0.3106, allocations: 113.5 kB / 376 MB, free: 20.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.3122, allocations: 0.9132 MB / 377 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3122, allocations: 0 / 377 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.3126, allocations: 344.7 kB / 377.3 MB, free: 20.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.3131, allocations: 55.36 kB / 377.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3142, allocations: 0.734 MB / 378.1 MB, free: 19.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.3144, allocations: 0.7674 MB / 378.9 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.3145, allocations: 26.5 kB / 378.9 MB, free: 18.85 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3145, allocations: 0 / 378.9 MB, free: 18.85 MB / 302.1 MB Notification: Performance of Templates: time 0.008676/0.3232, allocations: 5.736 MB / 384.6 MB, free: 17.71 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