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.0007686/0.0007687, allocations: 93.56 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009058/0.0009058, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.118/1.118, allocations: 227.7 MB / 246.8 MB, free: 9.574 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001901/0.00019, allocations: 8 kB / 307.7 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07316/0.07336, allocations: 51.52 MB / 359.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.002406/0.0758, allocations: 2.624 MB / 361.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.07683, allocations: 0.7597 MB / 362.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.07695, allocations: 7.938 kB / 362.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.07706, allocations: 47.69 kB / 362.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.07723, allocations: 87.3 kB / 362.8 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.07745, allocations: 99.89 kB / 362.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.07778, allocations: 394.2 kB / 363.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.07798, allocations: 111.6 kB / 363.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.0781, allocations: 127.4 kB / 363.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.07828, allocations: 159.2 kB / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.07832, allocations: 16 kB / 363.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-05/0.07836, allocations: 16 kB / 363.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.07841, allocations: 55.77 kB / 363.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.07854, allocations: 180.8 kB / 363.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.07882, allocations: 354.8 kB / 364.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.07883, allocations: 3.938 kB / 364.3 MB, free: 8.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.07884, allocations: 0 / 364.3 MB, free: 8.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.07885, allocations: 0 / 364.3 MB, free: 8.039 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.0007948/0.07965, allocations: 0.581 MB / 364.8 MB, free: 7.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.07968, allocations: 12.03 kB / 364.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.07976, allocations: 32.56 kB / 364.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.08005, allocations: 287.5 kB / 365.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.08008, allocations: 25.03 kB / 365.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.08012, allocations: 32.38 kB / 365.2 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/0.08071, allocations: 349.3 kB / 365.6 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.08072, allocations: 0 / 365.6 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.08076, allocations: 12 kB / 365.6 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.08077, allocations: 8 kB / 365.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005881/0.08136, allocations: 290.5 kB / 365.9 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.08297, allocations: 1.194 MB / 367.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007827/0.08376, allocations: 314.7 kB / 367.4 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.08418, allocations: 175 kB / 367.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.08421, allocations: 11.97 kB / 367.6 MB, free: 4.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.08424, allocations: 34.56 kB / 367.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.925e-06/0.08425, allocations: 0 / 367.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.002387/0.08664, allocations: 0.9184 MB / 368.5 MB, free: 3.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.08668, allocations: 55.34 kB / 368.6 MB, free: 3.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.08692, allocations: 274.7 kB / 368.8 MB, free: 3.203 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.08695, allocations: 33.64 kB / 368.9 MB, free: 3.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.08706, allocations: 203.8 kB / 369.1 MB, free: 2.961 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.08711, allocations: 67 kB / 369.1 MB, free: 2.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.08715, allocations: 33.7 kB / 369.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.08726, allocations: 330.8 kB / 369.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.0875, allocations: 107.9 kB / 369.6 MB, free: 2.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.08779, allocations: 199.8 kB / 369.8 MB, free: 2.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.08833, allocations: 319.1 kB / 370.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.08834, allocations: 0 / 370.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001271/0.08961, allocations: 0.5455 MB / 370.6 MB, free: 1.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/0.08971, allocations: 188.2 kB / 370.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.08972, allocations: 0 / 370.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005114/0.09024, allocations: 161.5 kB / 371 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.09041, allocations: 55.92 kB / 371 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1341/0.2245, allocations: 3.457 MB / 374.5 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.2248, allocations: 51.95 kB / 374.5 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2248, allocations: 13.12 kB / 374.6 MB, free: 16.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.2248, allocations: 10.53 kB / 374.6 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007629/0.2256, allocations: 376.4 kB / 374.9 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2256, allocations: 3.578 kB / 374.9 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.2259, allocations: 90.7 kB / 375 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.2261, allocations: 58.45 kB / 375.1 MB, free: 16.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.2279, allocations: 2.833 MB / 377.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.2281, allocations: 42.64 kB / 378 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2281, allocations: 10.75 kB / 378 MB, free: 13.89 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.0001149/0.2283, allocations: 222.9 kB / 378.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.2283, allocations: 29.28 kB / 378.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.2284, allocations: 31.27 kB / 378.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2284, allocations: 2.156 kB / 378.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2284, allocations: 2.844 kB / 378.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2284, allocations: 0 / 378.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.2299, allocations: 0.8512 MB / 379.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2299, allocations: 1.375 kB / 379.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.23, allocations: 26.38 kB / 379.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/0.2304, allocations: 144.5 kB / 379.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2304, allocations: 3.734 kB / 379.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/0.2334, allocations: 3.251 MB / 382.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2334, allocations: 0 / 382.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.2347, allocations: 0.6461 MB / 383.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.2347, allocations: 101.7 kB / 383.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.2348, allocations: 3.719 kB / 383.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.235, allocations: 30.47 kB / 383.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.235, allocations: 32.03 kB / 383.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2351, allocations: 5.125 kB / 383.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.2352, allocations: 194.3 kB / 383.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2352, allocations: 0 / 383.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000532/0.2358, allocations: 160.4 kB / 383.7 MB, free: 10.32 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 8.139e-05/0.2358, allocations: 98.25 kB / 383.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.2371, allocations: 0.9205 MB / 384.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2372, allocations: 384 / 384.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.2375, allocations: 359.9 kB / 385.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.2379, allocations: 47.33 kB / 385.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000898/0.2388, allocations: 0.7498 MB / 385.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.239, allocations: 0.7667 MB / 386.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.2391, allocations: 34.12 kB / 386.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.2391, allocations: 20.03 kB / 386.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2391, allocations: 0 / 386.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of Templates: time 0.007097/0.2462, allocations: 4.396 MB / 391.1 MB, free: 7.566 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