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.001839/0.001838, allocations: 110.4 kB / 17.16 MB, free: 6.082 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.002256/0.002256, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.762/1.762, allocations: 222.9 MB / 241.8 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 37.72 kB / 300.6 MB, free: 6.297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1232, allocations: 49.45 MB / 350.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005491/0.1288, allocations: 2.978 MB / 353 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1306, allocations: 0.7246 MB / 353.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.1311, allocations: 4 kB / 353.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1314, allocations: 43.62 kB / 353.8 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.1319, allocations: 83.36 kB / 353.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.1324, allocations: 115.8 kB / 354 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.133, allocations: 386.3 kB / 354.4 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.1332, allocations: 111.6 kB / 354.5 MB, free: 372 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.1335, allocations: 139.4 kB / 354.6 MB, free: 232 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.1338, allocations: 163.2 kB / 354.8 MB, free: 68 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-05/0.1339, allocations: 23.98 kB / 354.8 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.134, allocations: 24 kB / 354.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.1341, allocations: 71.75 kB / 354.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.1343, allocations: 159.1 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.1346, allocations: 279.4 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1346, allocations: 4 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1346, allocations: 0 / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1346, allocations: 0 / 355.3 MB, free: 15.52 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.001309/0.1359, allocations: 0.6456 MB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.136, allocations: 8.031 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.1361, allocations: 40.47 kB / 356 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.1365, allocations: 287.3 kB / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1366, allocations: 25.03 kB / 356.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.1366, allocations: 28.38 kB / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008567/0.1375, allocations: 345.4 kB / 356.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1375, allocations: 3.938 kB / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.1376, allocations: 12 kB / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1376, allocations: 8 kB / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/0.1383, allocations: 286.5 kB / 357 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.1405, allocations: 1.186 MB / 358.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.1415, allocations: 298.7 kB / 358.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.142, allocations: 180.7 kB / 358.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.142, allocations: 4 kB / 358.7 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.1421, allocations: 34.56 kB / 358.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.973e-06/0.1421, allocations: 0 / 358.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002854/0.145, allocations: 0.8521 MB / 359.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.145, allocations: 55.34 kB / 359.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.1454, allocations: 270.6 kB / 359.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.1454, allocations: 33.7 kB / 359.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1456, allocations: 203.9 kB / 360.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.1456, allocations: 71 kB / 360.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.1458, allocations: 57.61 kB / 360.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1459, allocations: 334.8 kB / 360.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1462, allocations: 100.8 kB / 360.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.1466, allocations: 192 kB / 360.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.1472, allocations: 299.3 kB / 361.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.1473, allocations: 4 kB / 361.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00155/0.1488, allocations: 0.5259 MB / 361.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.1489, allocations: 4 kB / 361.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.1489, allocations: 4 kB / 361.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000681/0.1496, allocations: 141.7 kB / 361.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1498, allocations: 63.91 kB / 361.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/0.1553, allocations: 3.395 MB / 365.3 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.1556, allocations: 51.58 kB / 365.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.1557, allocations: 8 kB / 365.3 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003333/0.156, allocations: 191.9 kB / 365.5 MB, free: 4.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002912/0.1563, allocations: 177.3 kB / 365.7 MB, free: 4.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004821/0.1568, allocations: 265.6 kB / 365.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.1568, allocations: 0 / 365.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009962/0.1578, allocations: 402.8 kB / 366.3 MB, free: 3.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1579, allocations: 10.34 kB / 366.4 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1579, allocations: 0 / 366.4 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.1582, allocations: 89.69 kB / 366.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.1584, allocations: 67.84 kB / 366.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.1614, allocations: 2.799 MB / 369.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.1617, allocations: 27.75 kB / 369.3 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.1617, allocations: 8 kB / 369.3 MB, free: 500 kB / 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.0001982/0.1619, allocations: 212 kB / 369.5 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.162, allocations: 27.78 kB / 369.6 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.1621, allocations: 26.17 kB / 369.6 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1621, allocations: 4 kB / 369.6 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1621, allocations: 0 / 369.6 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1621, allocations: 3.984 kB / 369.6 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.272/0.4341, allocations: 0.8048 MB / 370.4 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.4342, allocations: 0 / 370.4 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.4345, allocations: 32.48 kB / 370.4 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.4355, allocations: 136.3 kB / 370.6 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.4355, allocations: 5.375 kB / 370.6 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006703/0.4423, allocations: 3.174 MB / 373.8 MB, free: 22.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.4423, allocations: 4.828 kB / 373.8 MB, free: 22.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/0.4454, allocations: 0.6116 MB / 374.4 MB, free: 22.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.4456, allocations: 106.2 kB / 374.5 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.069e-05/0.4457, allocations: 4.438 kB / 374.5 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/0.4463, allocations: 32.2 kB / 374.5 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.4464, allocations: 23.75 kB / 374.5 MB, free: 22.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.4465, allocations: 4.281 kB / 374.5 MB, free: 22.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004209/0.4469, allocations: 193.2 kB / 374.7 MB, free: 22.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4469, allocations: 3.062 kB / 374.7 MB, free: 22.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001437/0.4484, allocations: 161 kB / 374.9 MB, free: 22.23 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.0002038/0.4486, allocations: 110.8 kB / 375 MB, free: 22.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003046/0.4517, allocations: 0.891 MB / 375.9 MB, free: 21.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.4517, allocations: 0.6562 kB / 375.9 MB, free: 21.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.4526, allocations: 350.2 kB / 376.2 MB, free: 21.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.4535, allocations: 50.05 kB / 376.3 MB, free: 21.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.4557, allocations: 0.7325 MB / 377 MB, free: 21.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.4562, allocations: 0.765 MB / 377.8 MB, free: 20.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4563, allocations: 22.44 kB / 377.8 MB, free: 20.37 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4563, allocations: 4 kB / 377.8 MB, free: 20.36 MB / 302.1 MB Notification: Performance of Templates: time 0.01389/0.4702, allocations: 5.732 MB / 383.5 MB, free: 19.28 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