Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001931/0.001931, allocations: 118.6 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002402/0.002402, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.2 MB / 254.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 55.91 kB / 373.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1139, allocations: 53.33 MB / 426.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004725/0.1186, allocations: 3.213 MB / 429.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1202, allocations: 0.8219 MB / 430.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1204, allocations: 7.938 kB / 430.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.1206, allocations: 63.42 kB / 430.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1208, allocations: 115 kB / 430.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.1212, allocations: 131.8 kB / 431 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004769/0.1217, allocations: 450.2 kB / 431.5 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.1219, allocations: 103.9 kB / 431.6 MB, free: 20 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2186/0.3405, allocations: 170.3 kB / 431.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.3407, allocations: 181 kB / 431.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.128e-05/0.3408, allocations: 43.81 kB / 432 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3409, allocations: 45.31 kB / 432 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.341, allocations: 92.56 kB / 432.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.3412, allocations: 192.7 kB / 432.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005843/0.3418, allocations: 0.5076 MB / 432.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3418, allocations: 0.5625 kB / 432.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3418, allocations: 0.8125 kB / 432.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.3418, allocations: 1.781 kB / 432.8 MB, free: 7.543 MB / 350.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.001026/0.3428, allocations: 0.6806 MB / 433.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3429, allocations: 8.344 kB / 433.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.3429, allocations: 70.66 kB / 433.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3431, allocations: 48.84 kB / 433.6 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.3435, allocations: 310.4 kB / 433.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.3436, allocations: 27.56 kB / 433.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.3436, allocations: 28.97 kB / 434 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.3442, allocations: 351.3 kB / 434.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3442, allocations: 0 / 434.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.3443, allocations: 14.12 kB / 434.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3443, allocations: 7.969 kB / 434.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.3448, allocations: 271.6 kB / 434.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.3467, allocations: 1.261 MB / 435.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.3473, allocations: 288.7 kB / 436.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.3475, allocations: 90.67 kB / 436.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3475, allocations: 4.578 kB / 436.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.3475, allocations: 33.77 kB / 436.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.3475, allocations: 0 / 436.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002138/0.3496, allocations: 0.6357 MB / 436.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.3497, allocations: 54.31 kB / 437 MB, free: 5.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.3501, allocations: 302.1 kB / 437.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3501, allocations: 29.64 kB / 437.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.3502, allocations: 227.1 kB / 437.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.3503, allocations: 55.17 kB / 437.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.229e-05/0.3504, allocations: 46.5 kB / 437.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.3505, allocations: 336.4 kB / 437.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.3507, allocations: 75.72 kB / 438 MB, free: 5.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.3509, allocations: 173.9 kB / 438.2 MB, free: 5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.3514, allocations: 243.9 kB / 438.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3514, allocations: 1 kB / 438.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001021/0.3524, allocations: 409.4 kB / 438.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3524, allocations: 10.91 kB / 438.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3524, allocations: 2.094 kB / 438.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004815/0.3529, allocations: 109.6 kB / 438.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3531, allocations: 42.17 kB / 439 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.356, allocations: 2.176 MB / 441.2 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.3562, allocations: 41.36 kB / 441.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.3562, allocations: 14.41 kB / 441.2 MB, free: 3.152 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.0001428/0.3564, allocations: 144.8 kB / 441.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.3564, allocations: 27.69 kB / 441.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.3565, allocations: 33.89 kB / 441.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3565, allocations: 5.312 kB / 441.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3565, allocations: 0 / 441.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3565, allocations: 2.188 kB / 441.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.3577, allocations: 0.7261 MB / 442.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3577, allocations: 0.7031 kB / 442.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.3578, allocations: 12.62 kB / 442.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/0.3582, allocations: 101.1 kB / 442.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3582, allocations: 14.75 kB / 442.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/0.3606, allocations: 2.153 MB / 444.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3606, allocations: 3.938 kB / 444.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009117/0.3615, allocations: 409.8 kB / 444.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.3616, allocations: 110.8 kB / 444.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.3616, allocations: 5.062 kB / 444.9 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.3618, allocations: 23.16 kB / 445 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.3619, allocations: 14.3 kB / 445 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3619, allocations: 8.672 kB / 445 MB, free: 392 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002486/0.3621, allocations: 213.9 kB / 445.2 MB, free: 268 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3621, allocations: 0 / 445.2 MB, free: 268 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005338/0.3627, allocations: 91.44 kB / 445.3 MB, free: 248 kB / 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.001207/0.3639, allocations: 0.9473 MB / 446.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008303/0.3647, allocations: 331.9 kB / 446.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3647, allocations: 0.6875 kB / 446.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.3651, allocations: 228.5 kB / 446.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.3655, allocations: 48.47 kB / 446.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.3707, allocations: 3.139 MB / 450 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.3711, allocations: 0.7677 MB / 450.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.3713, allocations: 25.7 kB / 450.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3714, allocations: 95.56 kB / 450.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 1.243e-06/0.3714, allocations: 0 / 450.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.4097, allocations: 6.687 MB / 457.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.42, allocations: 3.375 kB / 457.5 MB, free: 10.78 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.865693964064121]