Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009729/0.0009729, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006939/0.0006938, allocations: 100.5 kB / 297.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002014/0.0002014, allocations: 8 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1779, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08179/0.2597, allocations: 79.84 MB / 488.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.26, allocations: 79.94 kB / 488.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.2735, allocations: 5.389 MB / 494 MB, free: 6.297 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.2735, allocations: 0 / 494 MB, free: 6.297 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.2736, allocations: 7.938 kB / 494 MB, free: 6.289 MB / 362.7 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.0008108/0.2744, allocations: 0.5813 MB / 494.6 MB, free: 5.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2744, allocations: 12.02 kB / 494.6 MB, free: 5.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.2745, allocations: 40.47 kB / 494.6 MB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.2748, allocations: 284.3 kB / 494.9 MB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2748, allocations: 25.03 kB / 494.9 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.2749, allocations: 28.38 kB / 495 MB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.2755, allocations: 345.6 kB / 495.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2755, allocations: 192 / 495.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.2755, allocations: 15.94 kB / 495.3 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2756, allocations: 8 kB / 495.3 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/0.2762, allocations: 298.4 kB / 495.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.2781, allocations: 1.301 MB / 496.9 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.2789, allocations: 319.9 kB / 497.2 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.2793, allocations: 168.8 kB / 497.4 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.2794, allocations: 11.98 kB / 497.4 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2794, allocations: 39.19 kB / 497.4 MB, free: 2.637 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.2794, allocations: 0 / 497.4 MB, free: 2.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.00245/0.2819, allocations: 0.909 MB / 498.3 MB, free: 1.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.2819, allocations: 59.34 kB / 498.4 MB, free: 1.609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.2822, allocations: 274.5 kB / 498.7 MB, free: 1.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2822, allocations: 29.7 kB / 498.7 MB, free: 1.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.2823, allocations: 207.8 kB / 498.9 MB, free: 1.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.2824, allocations: 71.09 kB / 499 MB, free: 1.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.2824, allocations: 4 kB / 499 MB, free: 1.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.2825, allocations: 334.8 kB / 499.3 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.2827, allocations: 99.94 kB / 499.4 MB, free: 0.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.283, allocations: 192.9 kB / 499.6 MB, free: 360 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.2836, allocations: 321.1 kB / 499.9 MB, free: 15.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2836, allocations: 0 / 499.9 MB, free: 15.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001311/0.2849, allocations: 0.5494 MB / 0.4887 GB, free: 15.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.98e-05/0.285, allocations: 184.1 kB / 0.4889 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.285, allocations: 8 kB / 0.4889 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.2855, allocations: 149.6 kB / 0.4891 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.2857, allocations: 59.84 kB / 0.4891 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.2901, allocations: 3.462 MB / 0.4925 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.2904, allocations: 55.67 kB / 0.4925 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.2904, allocations: 15.98 kB / 0.4926 GB, free: 11.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.2904, allocations: 4 kB / 0.4926 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007953/0.2912, allocations: 365.4 kB / 0.4929 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2913, allocations: 0 / 0.4929 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.2915, allocations: 93.72 kB / 0.493 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.2917, allocations: 59.86 kB / 0.4931 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.2942, allocations: 2.831 MB / 0.4958 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.2945, allocations: 35.77 kB / 0.4959 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.2945, allocations: 12 kB / 0.4959 GB, free: 7.516 MB / 378.7 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.0001802/0.2947, allocations: 220.9 kB / 0.4961 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.2947, allocations: 27.72 kB / 0.4961 GB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.2948, allocations: 30.17 kB / 0.4961 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2948, allocations: 0 / 0.4961 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2948, allocations: 8.062 kB / 0.4961 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2948, allocations: 0 / 0.4961 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.2964, allocations: 0.8502 MB / 0.497 GB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2965, allocations: 0 / 0.497 GB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.2966, allocations: 27.92 kB / 0.497 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/0.2971, allocations: 149.6 kB / 0.4971 GB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.2971, allocations: 4 kB / 0.4971 GB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004225/0.3013, allocations: 3.454 MB / 0.5005 GB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3014, allocations: 0 / 0.5005 GB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.3028, allocations: 0.6333 MB / 0.5011 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3029, allocations: 108.8 kB / 0.5012 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.303, allocations: 4.062 kB / 0.5012 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3032, allocations: 35.97 kB / 0.5013 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.3033, allocations: 23.92 kB / 0.5013 GB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3033, allocations: 4 kB / 0.5013 GB, free: 1.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.3035, allocations: 186 kB / 0.5015 GB, free: 1.387 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3035, allocations: 4 kB / 0.5015 GB, free: 1.383 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006794/0.3042, allocations: 163.6 kB / 0.5016 GB, free: 1.223 MB / 378.7 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.0001535/0.3044, allocations: 111.2 kB / 0.5017 GB, free: 1.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.3059, allocations: 0.9101 MB / 0.5026 GB, free: 144 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3059, allocations: 0 / 0.5026 GB, free: 144 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1416/0.4475, allocations: 422.6 kB / 0.503 GB, free: 96.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.4481, allocations: 48.58 kB / 0.5031 GB, free: 96.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.4494, allocations: 0.7453 MB / 0.5038 GB, free: 96.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.4496, allocations: 0.7707 MB / 0.5046 GB, free: 95.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.4497, allocations: 21.72 kB / 0.5046 GB, free: 95.89 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4497, allocations: 0 / 0.5046 GB, free: 95.89 MB / 378.7 MB Notification: Performance of Templates: time 0.007384/0.4571, allocations: 5.716 MB / 0.5102 GB, free: 95.54 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_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