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.001359/0.001359, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.001476/0.001476, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.548/1.548, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.001823/0.001823, allocations: 71.88 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1176, allocations: 53.32 MB / 426.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.005086/0.1227, allocations: 3.028 MB / 429.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1244, allocations: 0.7517 MB / 430.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.1248, allocations: 7.938 kB / 430.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1251, allocations: 55.5 kB / 430.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.1254, allocations: 103 kB / 430.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.1258, allocations: 99.81 kB / 430.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006276/0.1265, allocations: 414.2 kB / 431.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.1267, allocations: 75.12 kB / 431.2 MB, free: 436 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.127, allocations: 167.3 kB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.1273, allocations: 163.3 kB / 431.5 MB, free: 104 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.789e-05/0.1274, allocations: 32 kB / 431.6 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1275, allocations: 39.94 kB / 431.6 MB, free: 32 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2261/0.3536, allocations: 70.91 kB / 431.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.3539, allocations: 174.8 kB / 431.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.3544, allocations: 397.5 kB / 432.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3544, allocations: 0 / 432.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3544, allocations: 0 / 432.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.3544, allocations: 0.9375 kB / 432.2 MB, free: 7.902 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.0009941/0.3554, allocations: 0.6387 MB / 432.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.3555, allocations: 9.719 kB / 432.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.776e-05/0.3555, allocations: 70.5 kB / 432.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.3557, allocations: 50.67 kB / 433 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.3561, allocations: 283.8 kB / 433.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3561, allocations: 20 kB / 433.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.3562, allocations: 27.78 kB / 433.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.3567, allocations: 259.2 kB / 433.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3567, allocations: 0.8125 kB / 433.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.3567, allocations: 13.84 kB / 433.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.3567, allocations: 9.719 kB / 433.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.3571, allocations: 212.2 kB / 433.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.3585, allocations: 0.9792 MB / 434.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.359, allocations: 283.6 kB / 435.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.3592, allocations: 95.53 kB / 435.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3592, allocations: 3.156 kB / 435.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.3592, allocations: 36.91 kB / 435.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.3592, allocations: 0.8125 kB / 435.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001178/0.3604, allocations: 0.5567 MB / 435.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.3604, allocations: 53.59 kB / 435.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.3607, allocations: 259.2 kB / 436.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3607, allocations: 33.64 kB / 436.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3608, allocations: 185.7 kB / 436.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.3609, allocations: 75.19 kB / 436.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.3609, allocations: 46.31 kB / 436.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.361, allocations: 336 kB / 436.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.3612, allocations: 75.84 kB / 436.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.3614, allocations: 113.1 kB / 436.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.3618, allocations: 181.2 kB / 437.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3618, allocations: 1.094 kB / 437.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006234/0.3624, allocations: 327 kB / 437.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3624, allocations: 5.094 kB / 437.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3624, allocations: 1.125 kB / 437.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.3628, allocations: 81.58 kB / 437.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.3629, allocations: 38.66 kB / 437.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.3648, allocations: 3.052 MB / 440.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.365, allocations: 23.3 kB / 440.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.3651, allocations: 13.09 kB / 440.6 MB, free: 2.66 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.0001328/0.3652, allocations: 142.1 kB / 440.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.3652, allocations: 37.78 kB / 440.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.3653, allocations: 29.14 kB / 440.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3653, allocations: 2.766 kB / 440.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3653, allocations: 2.125 kB / 440.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3653, allocations: 2.391 kB / 440.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.3663, allocations: 0.6836 MB / 441.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3663, allocations: 0 / 441.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.3664, allocations: 25.38 kB / 441.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/0.3666, allocations: 77.36 kB / 441.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3666, allocations: 2 kB / 441.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.3686, allocations: 3.045 MB / 444.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3686, allocations: 5.156 kB / 444.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.3693, allocations: 378.9 kB / 445 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.908e-05/0.3694, allocations: 108.7 kB / 445.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.3694, allocations: 5.125 kB / 445.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.3697, allocations: 30.92 kB / 445.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.3697, allocations: 23.56 kB / 445.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3698, allocations: 4.703 kB / 445.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.37, allocations: 192 kB / 445.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.37, allocations: 0 / 445.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004213/0.3704, allocations: 95.3 kB / 445.5 MB, free: 14.64 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.001082/0.3715, allocations: 0.9158 MB / 446.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008878/0.3724, allocations: 443 kB / 446.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3724, allocations: 0 / 446.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.3729, allocations: 335.4 kB / 447.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.3733, allocations: 53.45 kB / 447.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.378, allocations: 2.714 MB / 449.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.3785, allocations: 0.7647 MB / 450.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.3787, allocations: 25.08 kB / 450.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.3788, allocations: 91.69 kB / 450.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3788, allocations: 0 / 450.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05238/0.4312, allocations: 6.501 MB / 457.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.62, allocations: 11.83 kB / 457.3 MB, free: 9.688 MB / 366.1 MB " [Timeout remaining time 649] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.223730707075447]