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.001299/0.001299, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001353/0.001353, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.421/1.421, allocations: 230.4 MB / 254 MB, free: 15.05 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.001751/0.001751, allocations: 59.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.108, allocations: 53.36 MB / 426.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004268/0.1123, allocations: 3.038 MB / 429.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1136, allocations: 0.7594 MB / 430.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1137, allocations: 7.938 kB / 430.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.1139, allocations: 51.5 kB / 430.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1141, allocations: 107 kB / 430.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1144, allocations: 103.8 kB / 430.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.1148, allocations: 410.2 kB / 430.8 MB, free: 148 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.115, allocations: 75.11 kB / 430.9 MB, free: 68 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2126/0.3276, allocations: 158.1 kB / 431.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.3278, allocations: 165.5 kB / 431.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.3279, allocations: 31.34 kB / 431.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.328, allocations: 40.31 kB / 431.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.3281, allocations: 73.61 kB / 431.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.3283, allocations: 175.1 kB / 431.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.3288, allocations: 395.7 kB / 431.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3288, allocations: 0.9688 kB / 431.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3288, allocations: 1.062 kB / 431.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3288, allocations: 0 / 431.9 MB, free: 7.566 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009619/0.3298, allocations: 0.6412 MB / 432.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3298, allocations: 10.19 kB / 432.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.3299, allocations: 69.03 kB / 432.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.3301, allocations: 47.66 kB / 432.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.3304, allocations: 286.5 kB / 433 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3304, allocations: 20.44 kB / 433 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.3304, allocations: 29.19 kB / 433 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.3309, allocations: 264.8 kB / 433.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3309, allocations: 0 / 433.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.331, allocations: 9.625 kB / 433.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.331, allocations: 7.719 kB / 433.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004578/0.3314, allocations: 216.1 kB / 433.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.3329, allocations: 0.9737 MB / 434.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.3334, allocations: 285.4 kB / 434.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.3336, allocations: 99.03 kB / 434.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3336, allocations: 2.281 kB / 434.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3337, allocations: 35.72 kB / 434.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.3337, allocations: 1.188 kB / 434.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001262/0.3349, allocations: 0.5579 MB / 435.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.335, allocations: 55.48 kB / 435.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.3352, allocations: 265.8 kB / 435.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3352, allocations: 30.33 kB / 435.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.276e-05/0.3353, allocations: 187.1 kB / 436 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.3354, allocations: 73.06 kB / 436 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.3354, allocations: 49.81 kB / 436.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.3355, allocations: 334.2 kB / 436.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3357, allocations: 76.59 kB / 436.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.3359, allocations: 111.7 kB / 436.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.3363, allocations: 182.9 kB / 436.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3363, allocations: 2.281 kB / 436.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006112/0.3369, allocations: 324.3 kB / 437.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3369, allocations: 6.312 kB / 437.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3369, allocations: 1.094 kB / 437.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/0.3372, allocations: 80.23 kB / 437.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.3374, allocations: 35.45 kB / 437.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.3392, allocations: 3.049 MB / 440.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.3394, allocations: 23.52 kB / 440.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.3394, allocations: 10.83 kB / 440.3 MB, free: 2.316 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.0001136/0.3395, allocations: 143.6 kB / 440.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.3396, allocations: 32.47 kB / 440.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.3396, allocations: 33.22 kB / 440.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.3396, allocations: 3.344 kB / 440.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.3396, allocations: 1.156 kB / 440.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3396, allocations: 2.531 kB / 440.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009576/0.3406, allocations: 0.6831 MB / 441.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3406, allocations: 1.078 kB / 441.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.3407, allocations: 27.27 kB / 441.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001899/0.3409, allocations: 79.48 kB / 441.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3409, allocations: 1.656 kB / 441.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.343, allocations: 3.044 MB / 444.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.343, allocations: 3.281 kB / 444.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.3436, allocations: 383.3 kB / 444.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/0.3437, allocations: 101.7 kB / 444.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.3438, allocations: 5.828 kB / 444.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.344, allocations: 34.02 kB / 444.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.3441, allocations: 19.84 kB / 444.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.3441, allocations: 9.469 kB / 444.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.3443, allocations: 188 kB / 445.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3443, allocations: 0 / 445.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004339/0.3448, allocations: 94.64 kB / 445.2 MB, free: 14.2 MB / 366.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.001039/0.3458, allocations: 0.9167 MB / 446.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008316/0.3466, allocations: 438.8 kB / 446.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3466, allocations: 0 / 446.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.3471, allocations: 335.3 kB / 446.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.3475, allocations: 57.41 kB / 446.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.3515, allocations: 2.714 MB / 449.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.3519, allocations: 0.7649 MB / 450.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.3521, allocations: 25.06 kB / 450.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.3522, allocations: 92.05 kB / 450.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3522, allocations: 3.938 kB / 450.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.3883, allocations: 6.503 MB / 457 MB, free: 9.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.579/9.968, allocations: 5.094 kB / 457 MB, free: 9.199 MB / 366.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable VariableResistor.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable VariableResistor.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! Error: Could not read variable R2.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable R2.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.429909285041504]