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.000751/0.0007512, allocations: 98.53 kB / 17 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009816/0.0009816, allocations: 198.2 kB / 17.91 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002405/0.0002406, allocations: 8 kB / 307.1 MB, free: 1.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1309, allocations: 51.51 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004431/0.1354, allocations: 2.513 MB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1374, allocations: 0.7249 MB / 361.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004/0.1378, allocations: 11.94 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1381, allocations: 43.67 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.1386, allocations: 87.3 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.139, allocations: 95.83 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.1397, allocations: 370.3 kB / 362.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.14, allocations: 102.1 kB / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.1403, allocations: 123.5 kB / 362.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1406, allocations: 143.3 kB / 362.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.616e-05/0.1407, allocations: 23.98 kB / 362.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.199e-05/0.1408, allocations: 16 kB / 362.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.1408, allocations: 51.77 kB / 362.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1409, allocations: 89.52 kB / 363 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003679/0.1413, allocations: 271.4 kB / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1413, allocations: 0 / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1414, allocations: 0 / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1414, allocations: 0 / 363.3 MB, free: 8.98 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.1425, allocations: 0.5886 MB / 363.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1426, allocations: 11.97 kB / 363.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.1427, allocations: 35.62 kB / 363.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.1431, allocations: 270.5 kB / 364.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.1432, allocations: 28.61 kB / 364.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.1432, allocations: 28 kB / 364.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007424/0.144, allocations: 345 kB / 364.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.144, allocations: 0 / 364.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.1441, allocations: 16 kB / 364.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.1441, allocations: 12 kB / 364.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.1448, allocations: 294.4 kB / 364.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.1469, allocations: 1.193 MB / 366.1 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008726/0.1478, allocations: 322.6 kB / 366.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.1483, allocations: 183.3 kB / 366.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.1483, allocations: 8 kB / 366.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1483, allocations: 34.56 kB / 366.6 MB, free: 5.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.1483, allocations: 0 / 366.6 MB, free: 5.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002423/0.1508, allocations: 0.903 MB / 367.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1508, allocations: 55.41 kB / 367.6 MB, free: 4.426 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.1511, allocations: 282.5 kB / 367.8 MB, free: 4.141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1512, allocations: 25.7 kB / 367.9 MB, free: 4.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1513, allocations: 207.8 kB / 368.1 MB, free: 3.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.1514, allocations: 67.09 kB / 368.1 MB, free: 3.836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.1514, allocations: 4 kB / 368.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1516, allocations: 334.8 kB / 368.5 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.1519, allocations: 99.94 kB / 368.6 MB, free: 3.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.1522, allocations: 199.8 kB / 368.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1525, allocations: 121 kB / 368.9 MB, free: 3.043 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.1525, allocations: 4 kB / 368.9 MB, free: 3.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001355/0.1538, allocations: 0.5528 MB / 369.4 MB, free: 2.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.154, allocations: 184.2 kB / 369.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.154, allocations: 4 kB / 369.6 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005579/0.1546, allocations: 149.6 kB / 369.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1548, allocations: 51.92 kB / 369.8 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2198/0.3745, allocations: 3.479 MB / 373.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.375, allocations: 46 kB / 373.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.375, allocations: 24.55 kB / 373.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.375, allocations: 3.625 kB / 373.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009037/0.3759, allocations: 367.9 kB / 373.7 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.376, allocations: 3.688 kB / 373.7 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.3763, allocations: 90.77 kB / 373.8 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.3765, allocations: 57.77 kB / 373.9 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.3788, allocations: 2.822 MB / 376.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.379, allocations: 39.08 kB / 376.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.379, allocations: 17.23 kB / 376.7 MB, free: 15.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.3792, allocations: 216.5 kB / 377 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.3793, allocations: 27.75 kB / 377 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.3793, allocations: 36.86 kB / 377 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3793, allocations: 2.219 kB / 377 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.3794, allocations: 0.75 kB / 377 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3794, allocations: 1.828 kB / 377 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.381, allocations: 0.8403 MB / 377.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3811, allocations: 0 / 377.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.3812, allocations: 25.92 kB / 377.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/0.3816, allocations: 152.5 kB / 378 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3817, allocations: 4.766 kB / 378 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003293/0.385, allocations: 3.237 MB / 381.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.385, allocations: 4.062 kB / 381.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.3863, allocations: 0.6373 MB / 381.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.3864, allocations: 102.4 kB / 382 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.3864, allocations: 5.094 kB / 382 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.3866, allocations: 34.78 kB / 382.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.3867, allocations: 23.12 kB / 382.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.3867, allocations: 5.328 kB / 382.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.3869, allocations: 191.6 kB / 382.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.387, allocations: 0 / 382.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007502/0.3877, allocations: 166.5 kB / 382.4 MB, free: 11.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001581/0.3879, allocations: 101.4 kB / 382.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.3894, allocations: 0.9125 MB / 383.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3895, allocations: 3.812 kB / 383.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.3899, allocations: 352.9 kB / 383.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.3903, allocations: 48.25 kB / 383.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3915, allocations: 0.7258 MB / 384.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.3917, allocations: 0.7698 MB / 385.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.3919, allocations: 31.2 kB / 385.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.3919, allocations: 21.97 kB / 385.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3919, allocations: 0 / 385.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of Templates: time 0.009751/0.4017, allocations: 4.265 MB / 389.7 MB, free: 8.863 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins/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,R,R1,R2,VAmp,Vns,Vps,c.C,c.v,f,opAmp1.V0,opAmp1.Vns,opAmp1.Vps,opAmp1.homotopyType,opAmp1.out.i,opAmp1.out.v,opAmp1.simplifiedExpr,opAmp1.strict,opAmp1.useSupply,opAmp1.v_out,opAmp1.vns,opAmp1.vps,opAmp2.V0,opAmp2.Vns,opAmp2.Vps,opAmp2.homotopyType,opAmp2.out.i,opAmp2.out.v,opAmp2.strict,opAmp2.useSupply,opAmp2.v_out,opAmp2.vns,opAmp2.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time