Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001223, allocations: 113.2 kB / 17.07 MB, free: 5.988 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.001151/0.001151, allocations: 193.4 kB / 18 MB, free: 5.074 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.393/1.393, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 47.92 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2651, allocations: 49.43 MB / 400.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00459/0.2697, allocations: 3.185 MB / 403.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.2712, allocations: 0.7557 MB / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.2713, allocations: 8 kB / 404.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.2716, allocations: 59.42 kB / 404.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.2718, allocations: 115 kB / 404.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.2721, allocations: 119.8 kB / 404.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.2726, allocations: 446.2 kB / 404.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.2729, allocations: 155.9 kB / 405.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.2731, allocations: 167.3 kB / 405.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.2734, allocations: 179.2 kB / 405.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.2734, allocations: 44 kB / 405.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.2735, allocations: 44 kB / 405.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.025e-05/0.2736, allocations: 91.69 kB / 405.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.2738, allocations: 199.1 kB / 405.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.2743, allocations: 0.4932 MB / 406.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2743, allocations: 0 / 406.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.793e-06/0.2744, allocations: 0 / 406.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2744, allocations: 3.938 kB / 406.3 MB, free: 2.734 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001176/0.2756, allocations: 0.674 MB / 407 MB, free: 2.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.2756, allocations: 8.031 kB / 407 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.593e-05/0.2757, allocations: 70.72 kB / 407 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.369e-05/0.2758, allocations: 40.7 kB / 407.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.2762, allocations: 303.7 kB / 407.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.2763, allocations: 21.03 kB / 407.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.2763, allocations: 32.38 kB / 407.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.277, allocations: 357.2 kB / 407.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.277, allocations: 0 / 407.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.2771, allocations: 16 kB / 407.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2771, allocations: 8 kB / 407.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005903/0.2777, allocations: 270.4 kB / 408.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.2797, allocations: 1.268 MB / 409.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.2803, allocations: 287.9 kB / 409.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.2806, allocations: 92.81 kB / 409.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.2806, allocations: 4 kB / 409.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.2806, allocations: 34.5 kB / 409.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.2806, allocations: 0 / 409.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002179/0.2828, allocations: 0.6551 MB / 410.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.2829, allocations: 55.41 kB / 410.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.2832, allocations: 295 kB / 410.7 MB, free: 14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.2833, allocations: 29.7 kB / 410.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.2834, allocations: 220.3 kB / 411 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.2835, allocations: 47.59 kB / 411 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.393e-05/0.2836, allocations: 53.66 kB / 411.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2838, allocations: 334.8 kB / 411.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.284, allocations: 83.89 kB / 411.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.2843, allocations: 174.1 kB / 411.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.2848, allocations: 242.1 kB / 411.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2848, allocations: 0 / 411.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001008/0.2858, allocations: 408.4 kB / 412.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2858, allocations: 11.94 kB / 412.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.2858, allocations: 8.062 kB / 412.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004699/0.2863, allocations: 96.78 kB / 412.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.2865, allocations: 43.92 kB / 412.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.2898, allocations: 2.182 MB / 414.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.29, allocations: 43.75 kB / 414.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2901, allocations: 16.06 kB / 414.7 MB, free: 9.801 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.2903, allocations: 145.8 kB / 414.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.2904, allocations: 27.81 kB / 414.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.502e-05/0.2904, allocations: 33.84 kB / 414.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2904, allocations: 3.938 kB / 414.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2905, allocations: 0 / 414.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2905, allocations: 0 / 414.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.2918, allocations: 0.7219 MB / 415.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2918, allocations: 0 / 415.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.2919, allocations: 11.98 kB / 415.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/0.2922, allocations: 104.7 kB / 415.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.2923, allocations: 8 kB / 415.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/0.2953, allocations: 2.158 MB / 417.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2953, allocations: 0 / 417.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008632/0.2961, allocations: 415.9 kB / 418.3 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.2962, allocations: 112.8 kB / 418.4 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.2963, allocations: 0 / 418.4 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.2965, allocations: 19.98 kB / 418.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.2965, allocations: 23.86 kB / 418.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.2966, allocations: 8 kB / 418.5 MB, free: 5.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.2968, allocations: 209.9 kB / 418.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2968, allocations: 0 / 418.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004594/0.2973, allocations: 87.89 kB / 418.8 MB, free: 5.484 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/0.2985, allocations: 0.9525 MB / 419.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000741/0.2993, allocations: 346.4 kB / 420.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2993, allocations: 0 / 420.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.2997, allocations: 230.5 kB / 420.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3001, allocations: 52.47 kB / 420.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004787/0.3049, allocations: 3.137 MB / 423.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3053, allocations: 0.7635 MB / 424.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.712e-05/0.3054, allocations: 26.27 kB / 424.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.3055, allocations: 99.41 kB / 424.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3055, allocations: 0 / 424.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.3392, allocations: 6.599 MB / 431 MB, free: 9.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.96, allocations: 8.062 kB / 431 MB, free: 9.195 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches