Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001762/0.001762, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002179/0.002179, allocations: 209.5 kB / 23.72 MB, free: 4.391 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.ShowVariableResistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 55.91 kB / 377.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3197, allocations: 53.41 MB / 431.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004472/0.3241, allocations: 2.801 MB / 434 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3256, allocations: 0.7205 MB / 434.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.3257, allocations: 8 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.3259, allocations: 59.42 kB / 434.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.3261, allocations: 103 kB / 434.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.3264, allocations: 103.8 kB / 434.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.3268, allocations: 410.2 kB / 435.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.327, allocations: 71.58 kB / 435.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.3273, allocations: 163.5 kB / 435.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.3275, allocations: 151.2 kB / 435.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.3275, allocations: 32 kB / 435.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.64e-05/0.3276, allocations: 36 kB / 435.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.3277, allocations: 71.75 kB / 435.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.3278, allocations: 147.4 kB / 436 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.3283, allocations: 402.7 kB / 436.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3283, allocations: 0 / 436.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3283, allocations: 0 / 436.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3283, allocations: 0 / 436.4 MB, free: 1.191 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001127/0.3295, allocations: 0.5675 MB / 437 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3295, allocations: 15.97 kB / 437 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/0.3296, allocations: 58.73 kB / 437 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.3298, allocations: 56.69 kB / 437.1 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.3302, allocations: 222 kB / 437.3 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.3303, allocations: 21.03 kB / 437.3 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.3303, allocations: 28.38 kB / 437.4 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.331, allocations: 420.4 kB / 437.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.331, allocations: 0 / 437.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.331, allocations: 12 kB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.331, allocations: 8 kB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.3315, allocations: 222.5 kB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.3332, allocations: 0.8635 MB / 438.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.3337, allocations: 206.6 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.3339, allocations: 96.19 kB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3339, allocations: 7.984 kB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.334, allocations: 30.56 kB / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.334, allocations: 4 kB / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001217/0.3352, allocations: 407.2 kB / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3352, allocations: 55.41 kB / 439.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.3355, allocations: 269.7 kB / 439.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.3355, allocations: 33.64 kB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.3357, allocations: 188.2 kB / 440.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.3357, allocations: 75.38 kB / 440.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.3358, allocations: 49.94 kB / 440.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.336, allocations: 330.8 kB / 440.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.3362, allocations: 80.42 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.3364, allocations: 107.5 kB / 440.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.3368, allocations: 191.3 kB / 441 MB, free: 12.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3368, allocations: 0 / 441 MB, free: 12.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007154/0.3375, allocations: 318.8 kB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3375, allocations: 8 kB / 441.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3375, allocations: 0 / 441.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.3378, allocations: 77.73 kB / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.338, allocations: 35.97 kB / 441.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/0.3407, allocations: 2.821 MB / 444.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.3409, allocations: 36.05 kB / 444.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3409, allocations: 8 kB / 444.2 MB, free: 8.828 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.3411, allocations: 141.7 kB / 444.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.3412, allocations: 27.86 kB / 444.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.3412, allocations: 30.27 kB / 444.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3412, allocations: 4.062 kB / 444.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3413, allocations: 4 kB / 444.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3413, allocations: 3.984 kB / 444.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.3424, allocations: 0.6241 MB / 445.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3424, allocations: 0 / 445.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.3425, allocations: 19.98 kB / 445.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001998/0.3427, allocations: 77.66 kB / 445.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.3427, allocations: 4 kB / 445.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.3453, allocations: 2.821 MB / 448 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3453, allocations: 4.031 kB / 448 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.3459, allocations: 384.9 kB / 448.4 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.346, allocations: 27.8 kB / 448.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.346, allocations: 4.062 kB / 448.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.3462, allocations: 31.97 kB / 448.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.3463, allocations: 27.89 kB / 448.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.3463, allocations: 8.188 kB / 448.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.3465, allocations: 189.2 kB / 448.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3465, allocations: 0 / 448.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.3469, allocations: 99.78 kB / 448.8 MB, free: 3.984 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.348, allocations: 0.9129 MB / 449.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008512/0.3488, allocations: 437.1 kB / 450.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3488, allocations: 0 / 450.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.3493, allocations: 340.2 kB / 450.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.3496, allocations: 47.36 kB / 450.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.3534, allocations: 2.708 MB / 453.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.3535, allocations: 159.8 kB / 453.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.3536, allocations: 26.28 kB / 453.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.3538, allocations: 91.41 kB / 453.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3538, allocations: 0 / 453.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/0.393, allocations: 7.391 MB / 460.8 MB, free: 7.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.65, allocations: 3.938 kB / 460.8 MB, free: 7.855 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.265340393874794]