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.0008693/0.0008693, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008411/0.0008411, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8589/0.8589, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.492e-06/1.492e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.783e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.002801/0.002819, allocations: 2.799 MB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.003795, allocations: 0.7283 MB / 328.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.003924, allocations: 11.94 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.004052, allocations: 55.42 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.004182, allocations: 110.9 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.004457, allocations: 103.8 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.004747, allocations: 433.8 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.004892, allocations: 71.64 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.005129, allocations: 235.5 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.005237, allocations: 123.6 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.005272, allocations: 32 kB / 329.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.183e-05/0.005334, allocations: 39.98 kB / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.005373, allocations: 67.75 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.77e-05/0.005451, allocations: 127.7 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.005737, allocations: 402.7 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005739, allocations: 0 / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00574, allocations: 0 / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.005745, allocations: 4 kB / 329.8 MB, free: 10.54 MB / 298.7 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.0006107/0.006356, allocations: 0.5715 MB / 330.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.006391, allocations: 11.98 kB / 330.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.006435, allocations: 62.73 kB / 330.5 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.006546, allocations: 48.69 kB / 330.5 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.0068, allocations: 225.2 kB / 330.8 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.006816, allocations: 24.97 kB / 330.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.00684, allocations: 24.38 kB / 330.8 MB, free: 9.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.007195, allocations: 412.9 kB / 331.2 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.007204, allocations: 192 / 331.2 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.007224, allocations: 20.12 kB / 331.2 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.00723, allocations: 4 kB / 331.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.007511, allocations: 218.4 kB / 331.4 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009565/0.008467, allocations: 0.8642 MB / 332.3 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.008769, allocations: 198.6 kB / 332.5 MB, free: 7.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.00889, allocations: 100.7 kB / 332.6 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.008906, allocations: 4 kB / 332.6 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.008925, allocations: 38.56 kB / 332.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.002e-06/0.008926, allocations: 0 / 332.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006833/0.009609, allocations: 415.1 kB / 333 MB, free: 7.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.009635, allocations: 59.34 kB / 333.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.009806, allocations: 257.9 kB / 333.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.009822, allocations: 33.7 kB / 333.4 MB, free: 6.758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/0.009904, allocations: 196.1 kB / 333.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.009937, allocations: 67.39 kB / 333.6 MB, free: 6.496 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.009988, allocations: 45.94 kB / 333.7 MB, free: 6.441 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.01006, allocations: 330.8 kB / 334 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.01017, allocations: 76.42 kB / 334.1 MB, free: 6.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.01029, allocations: 103.5 kB / 334.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.01052, allocations: 186.5 kB / 334.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01052, allocations: 4 kB / 334.4 MB, free: 5.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003559/0.01087, allocations: 314.8 kB / 334.7 MB, free: 5.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01089, allocations: 12 kB / 334.7 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01089, allocations: 7.984 kB / 334.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.01107, allocations: 77.61 kB / 334.8 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.01117, allocations: 31.98 kB / 334.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.01255, allocations: 2.829 MB / 337.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.01265, allocations: 31.8 kB / 337.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01266, allocations: 12 kB / 337.7 MB, free: 2.176 MB / 298.7 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 9.158e-05/0.01275, allocations: 140.9 kB / 337.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.01278, allocations: 31.8 kB / 337.8 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.0128, allocations: 34.27 kB / 337.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.01281, allocations: 0 / 337.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01281, allocations: 4 kB / 337.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.01281, allocations: 0 / 337.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.0134, allocations: 0.6163 MB / 338.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0134, allocations: 4.125 kB / 338.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.01346, allocations: 31.92 kB / 338.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.01357, allocations: 73.67 kB / 338.6 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.01358, allocations: 3.984 kB / 338.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.01483, allocations: 2.818 MB / 341.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01484, allocations: 3.938 kB / 341.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.01518, allocations: 381.5 kB / 341.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.0152, allocations: 31.78 kB / 341.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.01522, allocations: 4 kB / 341.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.01534, allocations: 27.97 kB / 341.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.01539, allocations: 23.91 kB / 341.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.0154, allocations: 11.98 kB / 341.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.01551, allocations: 189.2 kB / 342.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01551, allocations: 0 / 342.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.01574, allocations: 95.84 kB / 342.2 MB, free: 13.35 MB / 314.7 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.0005058/0.01625, allocations: 0.9132 MB / 343.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004418/0.01669, allocations: 441.1 kB / 343.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01669, allocations: 0 / 343.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.0169, allocations: 341.4 kB / 343.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01716, allocations: 48.59 kB / 343.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.0193, allocations: 2.706 MB / 346.6 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.961e-05/0.0194, allocations: 167.5 kB / 346.8 MB, free: 8.539 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.155e-05/0.01947, allocations: 22.28 kB / 346.8 MB, free: 8.512 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.01956, allocations: 100.4 kB / 346.9 MB, free: 8.414 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01956, allocations: 0 / 346.9 MB, free: 8.414 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.03974, allocations: 7.512 MB / 354.4 MB, free: 1.074 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.019, allocations: 15.2 kB / 354.4 MB, free: 1.062 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/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: 8.668130359612405]