Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 213.4 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 55.86 kB / 378.5 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2801, allocations: 53.36 MB / 431.9 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004619/0.2847, allocations: 2.973 MB / 434.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2862, allocations: 0.783 MB / 435.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.2863, allocations: 4 kB / 435.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.2865, allocations: 59.36 kB / 435.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.2867, allocations: 107.1 kB / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.2871, allocations: 143.8 kB / 436 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004899/0.2876, allocations: 446.2 kB / 436.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.2878, allocations: 112.3 kB / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.2881, allocations: 179.3 kB / 436.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.2883, allocations: 179.2 kB / 436.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-05/0.2884, allocations: 43.94 kB / 436.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.2885, allocations: 52 kB / 436.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.248e-05/0.2886, allocations: 83.75 kB / 437 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.2887, allocations: 167.2 kB / 437.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.2893, allocations: 0.5136 MB / 437.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2893, allocations: 0 / 437.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2893, allocations: 0 / 437.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.2893, allocations: 0 / 437.7 MB, free: 0.8008 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.001063/0.2904, allocations: 0.5987 MB / 438.3 MB, free: 172 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2904, allocations: 8.031 kB / 438.3 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.572e-05/0.2904, allocations: 8.844 kB / 438.3 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.281e-05/0.2905, allocations: 70.72 kB / 438.4 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.2907, allocations: 48.69 kB / 438.4 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.2911, allocations: 253.8 kB / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.2911, allocations: 25.03 kB / 438.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.2912, allocations: 40.3 kB / 438.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.2919, allocations: 430 kB / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2919, allocations: 0 / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.292, allocations: 12 kB / 439.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.292, allocations: 8 kB / 439.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.2926, allocations: 270.5 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.2946, allocations: 1.14 MB / 440.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.2952, allocations: 201.1 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.2954, allocations: 84.81 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2954, allocations: 4 kB / 440.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.2954, allocations: 38.56 kB / 440.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.2954, allocations: 7.938 kB / 440.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00208/0.2975, allocations: 0.5564 MB / 441.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.2976, allocations: 55.34 kB / 441.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.2979, allocations: 300.2 kB / 441.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.2979, allocations: 29.7 kB / 441.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.2981, allocations: 220.2 kB / 442.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.2982, allocations: 59.52 kB / 442.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.2983, allocations: 49.66 kB / 442.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.2984, allocations: 338.8 kB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.2987, allocations: 75.97 kB / 442.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.2989, allocations: 163 kB / 442.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.2994, allocations: 252.7 kB / 443 MB, free: 11.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.2994, allocations: 0 / 443 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009905/0.3004, allocations: 410 kB / 443.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3004, allocations: 4 kB / 443.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3004, allocations: 4 kB / 443.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004574/0.3009, allocations: 104.9 kB / 443.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.3011, allocations: 43.91 kB / 443.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.3045, allocations: 2.051 MB / 445.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.3047, allocations: 39.77 kB / 445.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.3047, allocations: 12 kB / 445.6 MB, free: 8.418 MB / 350.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.0002449/0.305, allocations: 153.8 kB / 445.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.305, allocations: 23.86 kB / 445.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.084e-05/0.3051, allocations: 33.78 kB / 445.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3051, allocations: 4 kB / 445.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.3051, allocations: 0 / 445.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3051, allocations: 0 / 445.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.3065, allocations: 0.6655 MB / 446.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3065, allocations: 0 / 446.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/0.3066, allocations: 12 kB / 446.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003398/0.3069, allocations: 108.7 kB / 446.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.3069, allocations: 4 kB / 446.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.3098, allocations: 2.031 MB / 448.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3098, allocations: 3.938 kB / 448.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000869/0.3107, allocations: 416.4 kB / 449.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.3108, allocations: 35.8 kB / 449.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.3108, allocations: 0 / 449.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.311, allocations: 19.98 kB / 449.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.3111, allocations: 19.91 kB / 449.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3111, allocations: 4 kB / 449.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002493/0.3113, allocations: 211.1 kB / 449.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3113, allocations: 0 / 449.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.3118, allocations: 91.83 kB / 449.4 MB, free: 4.406 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.001282/0.3131, allocations: 0.9355 MB / 450.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000782/0.3139, allocations: 338.4 kB / 450.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3139, allocations: 4 kB / 450.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.3143, allocations: 225.6 kB / 450.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3147, allocations: 54.05 kB / 451 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005159/0.3198, allocations: 3.137 MB / 454.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.32, allocations: 168.8 kB / 454.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.3202, allocations: 22.53 kB / 454.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.3203, allocations: 95.41 kB / 454.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3203, allocations: 0 / 454.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.3532, allocations: 6.797 MB / 461.2 MB, free: 8.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.07, allocations: 8.062 kB / 461.2 MB, free: 8.617 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.469659995054826]