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.001712/0.001712, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002196/0.002196, allocations: 210.9 kB / 24.52 MB, free: 3.941 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.545/1.545, allocations: 230.5 MB / 258.2 MB, free: 7.805 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.91 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2725, allocations: 53.4 MB / 431.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004682/0.2772, allocations: 2.798 MB / 434.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.2787, allocations: 0.7205 MB / 435.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.2788, allocations: 15.94 kB / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.279, allocations: 59.42 kB / 435.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.2792, allocations: 103 kB / 435.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.2796, allocations: 95.86 kB / 435.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.28, allocations: 414.2 kB / 436.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.2802, allocations: 79.58 kB / 436.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.2805, allocations: 163.5 kB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.2807, allocations: 167.2 kB / 436.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.2808, allocations: 32 kB / 436.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.2809, allocations: 36 kB / 436.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.2809, allocations: 79.62 kB / 436.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.2811, allocations: 143.4 kB / 436.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.2816, allocations: 406.3 kB / 437.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2816, allocations: 0 / 437.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2816, allocations: 0 / 437.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.2816, allocations: 4 kB / 437.2 MB, free: 1.148 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.001012/0.2826, allocations: 0.5637 MB / 437.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.2826, allocations: 8.031 kB / 437.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.575e-05/0.2827, allocations: 12.84 kB / 437.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.247e-05/0.2827, allocations: 62.73 kB / 437.8 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.2829, allocations: 48.69 kB / 437.9 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.2834, allocations: 225.9 kB / 438.1 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.2834, allocations: 21.03 kB / 438.1 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.2834, allocations: 24.38 kB / 438.1 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/0.2841, allocations: 416.2 kB / 438.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2841, allocations: 4 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.2841, allocations: 12 kB / 438.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.2841, allocations: 4 kB / 438.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.2846, allocations: 218.4 kB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.2863, allocations: 0.8714 MB / 439.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.2868, allocations: 202 kB / 439.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.287, allocations: 108.3 kB / 440 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.287, allocations: 4 kB / 440 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.287, allocations: 30.56 kB / 440 MB, free: 14.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.984e-06/0.287, allocations: 0 / 440 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001225/0.2883, allocations: 411.1 kB / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.2883, allocations: 59.39 kB / 440.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.2886, allocations: 257.9 kB / 440.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.2886, allocations: 41.64 kB / 440.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2888, allocations: 184.2 kB / 440.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.2888, allocations: 79.31 kB / 441 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.2889, allocations: 45.89 kB / 441 MB, free: 13.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2891, allocations: 334.8 kB / 441.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.2893, allocations: 80.42 kB / 441.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.2895, allocations: 111.4 kB / 441.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.2899, allocations: 187.1 kB / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2899, allocations: 0 / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006334/0.2905, allocations: 322.9 kB / 442.1 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2905, allocations: 8 kB / 442.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2905, allocations: 0 / 442.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002733/0.2908, allocations: 81.55 kB / 442.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.291, allocations: 35.97 kB / 442.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.2935, allocations: 2.821 MB / 445 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.2937, allocations: 31.84 kB / 445 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.2937, allocations: 4 kB / 445 MB, free: 8.785 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.0001825/0.2939, allocations: 141.9 kB / 445.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.294, allocations: 35.75 kB / 445.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.294, allocations: 30.27 kB / 445.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.294, allocations: 4 kB / 445.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.294, allocations: 0 / 445.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.294, allocations: 3.984 kB / 445.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.2951, allocations: 0.6163 MB / 445.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.2951, allocations: 3.984 kB / 445.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.2952, allocations: 31.92 kB / 445.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.2954, allocations: 73.66 kB / 446 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.2954, allocations: 4 kB / 446 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.2979, allocations: 2.818 MB / 448.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2979, allocations: 0 / 448.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.2985, allocations: 384.9 kB / 449.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.2986, allocations: 31.81 kB / 449.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.2986, allocations: 0 / 449.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.2989, allocations: 31.97 kB / 449.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.2989, allocations: 27.89 kB / 449.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.2989, allocations: 4 kB / 449.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.2992, allocations: 201.1 kB / 449.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2992, allocations: 0 / 449.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004157/0.2996, allocations: 95.83 kB / 449.5 MB, free: 3.941 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.0009378/0.3005, allocations: 0.909 MB / 450.5 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008519/0.3014, allocations: 433.1 kB / 450.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3014, allocations: 4 kB / 450.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.3018, allocations: 336.4 kB / 451.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3022, allocations: 48.41 kB / 451.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.3058, allocations: 2.726 MB / 454 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.306, allocations: 159.8 kB / 454.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.3061, allocations: 22.28 kB / 454.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3062, allocations: 91.41 kB / 454.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3062, allocations: 0 / 454.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.3391, allocations: 7.069 MB / 461.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.83, allocations: 17.91 kB / 461.3 MB, free: 8.129 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.631210652994923]