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.001527/0.001527, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001854/0.001854, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.4 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.64 kB / 307.6 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09399/0.09537, allocations: 50.53 MB / 358.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004314/0.09973, allocations: 2.951 MB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1013, allocations: 0.7751 MB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.1015, allocations: 8 kB / 361.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.1018, allocations: 59.44 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1021, allocations: 103.1 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.1024, allocations: 119.8 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.1029, allocations: 406.2 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.1032, allocations: 139.3 kB / 362.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.1034, allocations: 147.5 kB / 362.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1036, allocations: 175.2 kB / 363 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.1037, allocations: 32 kB / 363 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.1038, allocations: 35.94 kB / 363.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.1038, allocations: 71.75 kB / 363.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.104, allocations: 167.1 kB / 363.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.1044, allocations: 382.8 kB / 363.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1044, allocations: 0 / 363.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1044, allocations: 0 / 363.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.1044, allocations: 0 / 363.7 MB, free: 8.543 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.001096/0.1055, allocations: 0.6278 MB / 364.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1056, allocations: 12.03 kB / 364.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.1057, allocations: 36.47 kB / 364.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.106, allocations: 287.6 kB / 364.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.106, allocations: 21.03 kB / 364.7 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.1061, allocations: 32.38 kB / 364.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.1067, allocations: 353.3 kB / 365 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1067, allocations: 0 / 365 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.1068, allocations: 12 kB / 365.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1068, allocations: 4 kB / 365.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/0.1075, allocations: 286.5 kB / 365.3 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.1093, allocations: 1.166 MB / 366.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/0.1102, allocations: 305.7 kB / 366.8 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.1106, allocations: 180.7 kB / 367 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1107, allocations: 4 kB / 367 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1107, allocations: 46.47 kB / 367 MB, free: 5.004 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.1107, allocations: 3.938 kB / 367 MB, free: 5 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002699/0.1134, allocations: 0.8467 MB / 367.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1135, allocations: 59.34 kB / 367.9 MB, free: 4.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.1137, allocations: 266.6 kB / 368.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1138, allocations: 33.7 kB / 368.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1139, allocations: 211.8 kB / 368.4 MB, free: 3.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.114, allocations: 63.09 kB / 368.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.1141, allocations: 57.61 kB / 368.6 MB, free: 3.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1142, allocations: 338.8 kB / 368.9 MB, free: 3.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.1145, allocations: 104.8 kB / 369 MB, free: 2.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.1148, allocations: 195.8 kB / 369.2 MB, free: 2.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005765/0.1154, allocations: 301 kB / 369.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1154, allocations: 0 / 369.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001466/0.1169, allocations: 0.5182 MB / 370 MB, free: 1.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1169, allocations: 8 kB / 370 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.1169, allocations: 4 kB / 370 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.1175, allocations: 145.6 kB / 370.1 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.1177, allocations: 59.91 kB / 370.2 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1655/0.2832, allocations: 3.698 MB / 373.9 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.2835, allocations: 48.3 kB / 374 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.2836, allocations: 13.75 kB / 374 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000265/0.2838, allocations: 177 kB / 374.1 MB, free: 18.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002077/0.284, allocations: 176.3 kB / 374.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004044/0.2845, allocations: 265 kB / 374.6 MB, free: 17.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.267e-06/0.2845, allocations: 4.969 kB / 374.6 MB, free: 17.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009268/0.2854, allocations: 414.5 kB / 375 MB, free: 17.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2854, allocations: 6.406 kB / 375 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2854, allocations: 3.016 kB / 375 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.2857, allocations: 85.34 kB / 375.1 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.286, allocations: 63.42 kB / 375.1 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.2883, allocations: 3.017 MB / 378.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.2886, allocations: 33.88 kB / 378.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.2886, allocations: 17.59 kB / 378.2 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 (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.0001065/0.2887, allocations: 201.6 kB / 378.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.2888, allocations: 24.81 kB / 378.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.2888, allocations: 34.45 kB / 378.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2889, allocations: 10.08 kB / 378.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.2889, allocations: 0 / 378.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2889, allocations: 1.984 kB / 378.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.2905, allocations: 0.8202 MB / 379.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2905, allocations: 0 / 379.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.2906, allocations: 25 kB / 379.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/0.2911, allocations: 142 kB / 379.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.2911, allocations: 6.672 kB / 379.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/0.2946, allocations: 3.411 MB / 382.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2946, allocations: 4.062 kB / 382.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.2961, allocations: 0.6037 MB / 383.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.2961, allocations: 103.6 kB / 383.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.2962, allocations: 14.69 kB / 383.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.2964, allocations: 23.31 kB / 383.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.2965, allocations: 21.92 kB / 383.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.2965, allocations: 8.406 kB / 383.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.2967, allocations: 191.1 kB / 383.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2967, allocations: 1.094 kB / 383.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006812/0.2974, allocations: 161.9 kB / 384 MB, free: 10.8 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.0001133/0.2975, allocations: 99.59 kB / 384.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.2991, allocations: 0.9066 MB / 385 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2991, allocations: 1.281 kB / 385 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.2995, allocations: 354.9 kB / 385.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.2999, allocations: 55.88 kB / 385.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.301, allocations: 0.6319 MB / 386 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.3012, allocations: 0.7749 MB / 386.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.3013, allocations: 21.75 kB / 386.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3013, allocations: 3.5 kB / 386.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of Templates: time 0.008252/0.3096, allocations: 5.743 MB / 392.6 MB, free: 7.273 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/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_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.v,opAmp1.out.i,opAmp1.out.v,opAmp2.out.i,opAmp2.out.v,time