Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.006082/0.006082, allocations: 111.1 kB / 21.97 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 205.1 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 47.94 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2389, allocations: 49.16 MB / 397.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003302/0.2422, allocations: 2.979 MB / 400.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2433, allocations: 0.7337 MB / 400.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.2434, allocations: 14.09 kB / 400.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.2435, allocations: 58.14 kB / 400.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.2437, allocations: 101.4 kB / 401 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.244, allocations: 91.22 kB / 401.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.2443, allocations: 415.8 kB / 401.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.2445, allocations: 81.23 kB / 401.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.2447, allocations: 150.4 kB / 401.7 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.2449, allocations: 165.3 kB / 401.9 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.245, allocations: 35.94 kB / 401.9 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.383e-05/0.245, allocations: 31.09 kB / 402 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.2451, allocations: 78.64 kB / 402 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.2452, allocations: 172.3 kB / 402.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.2456, allocations: 384.3 kB / 402.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2456, allocations: 0 / 402.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2456, allocations: 0 / 402.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.2456, allocations: 5.094 kB / 402.6 MB, free: 5.484 MB / 318.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.000843/0.2465, allocations: 0.5605 MB / 403.2 MB, free: 5.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2465, allocations: 17.11 kB / 403.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.608e-05/0.2465, allocations: 8.391 kB / 403.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.2466, allocations: 66.81 kB / 403.2 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.2466, allocations: 43.77 kB / 403.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.247, allocations: 220.2 kB / 403.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.247, allocations: 23.38 kB / 403.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.247, allocations: 27 kB / 403.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.2475, allocations: 266.2 kB / 403.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2475, allocations: 0 / 403.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.2475, allocations: 11.41 kB / 403.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2475, allocations: 6.031 kB / 403.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.248, allocations: 218.7 kB / 404 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.2494, allocations: 0.9278 MB / 405 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.2499, allocations: 204.9 kB / 405.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.2501, allocations: 93.55 kB / 405.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2501, allocations: 5.406 kB / 405.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.2501, allocations: 41.89 kB / 405.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.2501, allocations: 0 / 405.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.00115/0.2512, allocations: 417.8 kB / 405.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.2513, allocations: 54.41 kB / 405.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.2515, allocations: 259.5 kB / 406 MB, free: 3.414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2515, allocations: 31.92 kB / 406.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.2516, allocations: 185.4 kB / 406.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.2516, allocations: 70.67 kB / 406.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.18e-05/0.2517, allocations: 47.83 kB / 406.4 MB, free: 3.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.749e-05/0.2518, allocations: 332.5 kB / 406.7 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.252, allocations: 80.17 kB / 406.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.2522, allocations: 113.6 kB / 406.9 MB, free: 2.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.2525, allocations: 185.9 kB / 407 MB, free: 2.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2525, allocations: 1.219 kB / 407.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006074/0.2531, allocations: 324.6 kB / 407.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2532, allocations: 5.5 kB / 407.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2532, allocations: 2.125 kB / 407.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/0.2534, allocations: 78.61 kB / 407.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.2536, allocations: 33.64 kB / 407.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.2555, allocations: 2.847 MB / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.2558, allocations: 28.8 kB / 410.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.2558, allocations: 10.16 kB / 410.4 MB, free: 15.7 MB / 334.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.0002148/0.256, allocations: 142.3 kB / 410.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.2561, allocations: 33.27 kB / 410.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.2561, allocations: 31.08 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2561, allocations: 3.031 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.2561, allocations: 1.844 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.2561, allocations: 2.016 kB / 410.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.2573, allocations: 0.6574 MB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2573, allocations: 0 / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.2574, allocations: 24.41 kB / 411.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.2576, allocations: 73.59 kB / 411.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.2576, allocations: 9.375 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.2601, allocations: 2.842 MB / 414.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2601, allocations: 0 / 414.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.2608, allocations: 382.2 kB / 414.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.2608, allocations: 36.72 kB / 414.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.2608, allocations: 1.672 kB / 414.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.2611, allocations: 29.7 kB / 414.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.2612, allocations: 25.25 kB / 414.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.2612, allocations: 9.094 kB / 414.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.2614, allocations: 198.1 kB / 414.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2614, allocations: 0 / 414.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.2617, allocations: 91.98 kB / 414.9 MB, free: 11.91 MB / 334.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.0009269/0.2627, allocations: 0.9039 MB / 415.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007828/0.2635, allocations: 439.2 kB / 416.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2635, allocations: 0 / 416.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.2639, allocations: 340.1 kB / 416.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.2643, allocations: 46.67 kB / 416.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.2679, allocations: 2.697 MB / 419.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.2683, allocations: 0.7609 MB / 420.1 MB, free: 7.965 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.2684, allocations: 25.66 kB / 420.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.2685, allocations: 89.91 kB / 420.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of SimCode: time 5.82e-07/0.2685, allocations: 1.438 kB / 420.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.3032, allocations: 6.682 MB / 426.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.45, allocations: 18.03 kB / 426.9 MB, free: 4.305 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.901211713033263]