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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 184.6 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 47.92 kB / 370.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2611, allocations: 52.18 MB / 422.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004511/0.2657, allocations: 3.218 MB / 425.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.2669, allocations: 0.7674 MB / 426.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.2671, allocations: 11.88 kB / 426.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.2672, allocations: 63.42 kB / 426.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.2674, allocations: 111 kB / 426.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.2677, allocations: 119.8 kB / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.2682, allocations: 450.1 kB / 427.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.2684, allocations: 112.4 kB / 427.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.2686, allocations: 171.4 kB / 427.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.2689, allocations: 183.2 kB / 427.8 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.2689, allocations: 44 kB / 427.9 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.89e-05/0.269, allocations: 44 kB / 427.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.2691, allocations: 87.73 kB / 428 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.2693, allocations: 195 kB / 428.2 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.2698, allocations: 0.4985 MB / 428.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2698, allocations: 0 / 428.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2698, allocations: 0 / 428.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2698, allocations: 0 / 428.7 MB, free: 8.512 MB / 334.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.001061/0.2708, allocations: 0.5987 MB / 429.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2709, allocations: 16.03 kB / 429.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.958e-05/0.271, allocations: 70.66 kB / 429.4 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.271, allocations: 40.7 kB / 429.4 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.2714, allocations: 241.9 kB / 429.7 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2714, allocations: 25.03 kB / 429.7 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.2715, allocations: 28.38 kB / 429.7 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.2721, allocations: 353.2 kB / 430.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2721, allocations: 0 / 430.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.2721, allocations: 12 kB / 430.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2722, allocations: 8 kB / 430.1 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005966/0.2727, allocations: 274.4 kB / 430.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.2747, allocations: 1.214 MB / 431.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.2752, allocations: 202.7 kB / 431.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.2754, allocations: 88.81 kB / 431.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.2755, allocations: 0 / 431.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.2755, allocations: 38.56 kB / 431.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.2755, allocations: 0 / 431.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002002/0.2775, allocations: 0.5674 MB / 432.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2775, allocations: 55.34 kB / 432.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.2779, allocations: 304.1 kB / 432.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.2779, allocations: 29.7 kB / 432.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.278, allocations: 228.2 kB / 433 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.2781, allocations: 51.53 kB / 433.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.739e-05/0.2782, allocations: 53.66 kB / 433.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2783, allocations: 334.8 kB / 433.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.2785, allocations: 79.95 kB / 433.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.2788, allocations: 158.3 kB / 433.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.2792, allocations: 242.1 kB / 433.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2792, allocations: 0 / 433.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009455/0.2801, allocations: 410 kB / 434.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2802, allocations: 11.94 kB / 434.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2802, allocations: 0 / 434.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004099/0.2806, allocations: 104.8 kB / 434.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.2807, allocations: 39.92 kB / 434.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/0.2837, allocations: 2.088 MB / 436.6 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.2839, allocations: 39.77 kB / 436.6 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.2839, allocations: 8 kB / 436.6 MB, free: 156 kB / 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.0001508/0.284, allocations: 145.8 kB / 436.8 MB, free: 0 / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.2841, allocations: 24.05 kB / 436.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.2842, allocations: 33.84 kB / 436.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2842, allocations: 3.75 kB / 436.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2842, allocations: 0 / 436.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2842, allocations: 0 / 436.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.2854, allocations: 0.6974 MB / 437.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2854, allocations: 0 / 437.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/0.2855, allocations: 15.98 kB / 437.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000321/0.2858, allocations: 109 kB / 437.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2858, allocations: 4 kB / 437.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002729/0.2886, allocations: 2.056 MB / 439.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2886, allocations: 0 / 439.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000821/0.2894, allocations: 412.4 kB / 440.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.2894, allocations: 39.67 kB / 440.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.2895, allocations: 4 kB / 440.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.2897, allocations: 23.98 kB / 440.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.2897, allocations: 15.91 kB / 440.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.2897, allocations: 8 kB / 440.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.2899, allocations: 207.1 kB / 440.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2899, allocations: 0 / 440.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004446/0.2904, allocations: 87.89 kB / 440.5 MB, free: 12.09 MB / 350.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.001144/0.2915, allocations: 0.9465 MB / 441.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007028/0.2922, allocations: 334.4 kB / 441.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2922, allocations: 0 / 441.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.2926, allocations: 227.2 kB / 442 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.293, allocations: 32.97 kB / 442 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004683/0.2976, allocations: 3.129 MB / 445.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.298, allocations: 0.7752 MB / 445.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.539e-05/0.2981, allocations: 26.28 kB / 446 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.2983, allocations: 95.41 kB / 446 MB, free: 6.301 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2983, allocations: 0 / 446 MB, free: 6.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03962/0.3379, allocations: 6.848 MB / 452.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/12.96, allocations: 480 / 452.9 MB, free: 15.6 MB / 366.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.235567267984152]