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.001421/0.001421, allocations: 102.7 kB / 21.96 MB, free: 5.219 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.001427/0.001427, allocations: 214 kB / 25.26 MB, free: 3.129 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.327/1.327, allocations: 207.7 MB / 236.1 MB, free: 9.793 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.002413/0.002413, allocations: 58.52 kB / 348 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.246, allocations: 49.16 MB / 397.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003338/0.2493, allocations: 2.725 MB / 399.9 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2504, allocations: 0.7019 MB / 400.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.2505, allocations: 4.406 kB / 400.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.2507, allocations: 57.84 kB / 400.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.2508, allocations: 101.7 kB / 400.7 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.2511, allocations: 88.03 kB / 400.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.2514, allocations: 414 kB / 401.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.2516, allocations: 89.02 kB / 401.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.2518, allocations: 160.1 kB / 401.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.252, allocations: 165.2 kB / 401.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.2521, allocations: 31.44 kB / 401.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.888e-05/0.2521, allocations: 31.97 kB / 401.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.2522, allocations: 70.84 kB / 401.8 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.2523, allocations: 143.3 kB / 401.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.2528, allocations: 397.8 kB / 402.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2528, allocations: 0 / 402.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2528, allocations: 0 / 402.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.2528, allocations: 0 / 402.3 MB, free: 5.703 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.0008881/0.2537, allocations: 0.5664 MB / 402.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2537, allocations: 13.2 kB / 402.9 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.955e-05/0.2537, allocations: 12.12 kB / 402.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.2538, allocations: 63.31 kB / 402.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.2538, allocations: 39.64 kB / 403 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.2542, allocations: 219.6 kB / 403.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2542, allocations: 25.12 kB / 403.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.2543, allocations: 25.69 kB / 403.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.2548, allocations: 416.3 kB / 403.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2548, allocations: 0.75 kB / 403.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.2548, allocations: 19.91 kB / 403.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.2549, allocations: 10.62 kB / 403.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.2553, allocations: 214.3 kB / 403.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.2567, allocations: 0.8622 MB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.2572, allocations: 205.5 kB / 404.9 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.2574, allocations: 95.25 kB / 405 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.2574, allocations: 2.625 kB / 405 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.2574, allocations: 33.09 kB / 405.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.2574, allocations: 0 / 405.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001192/0.2586, allocations: 423 kB / 405.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.2587, allocations: 52.91 kB / 405.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.2589, allocations: 257.5 kB / 405.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2589, allocations: 34.8 kB / 405.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.259, allocations: 185.6 kB / 406 MB, free: 3.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.2591, allocations: 78.02 kB / 406.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.2591, allocations: 44.84 kB / 406.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.92e-05/0.2592, allocations: 337.1 kB / 406.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.2594, allocations: 75.36 kB / 406.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.2596, allocations: 108.1 kB / 406.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.2599, allocations: 198.2 kB / 406.8 MB, free: 2.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2599, allocations: 0 / 406.8 MB, free: 2.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000576/0.2605, allocations: 316.9 kB / 407.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2605, allocations: 6.828 kB / 407.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2605, allocations: 4.062 kB / 407.1 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/0.2608, allocations: 71.55 kB / 407.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.261, allocations: 42.39 kB / 407.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.2629, allocations: 2.825 MB / 410.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.2631, allocations: 32.98 kB / 410.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.2631, allocations: 6.109 kB / 410.1 MB, free: 15.77 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.000221/0.2634, allocations: 142.9 kB / 410.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.2634, allocations: 29.56 kB / 410.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.2635, allocations: 35.36 kB / 410.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2635, allocations: 2.75 kB / 410.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.2635, allocations: 1.375 kB / 410.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.2635, allocations: 2.547 kB / 410.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.2648, allocations: 0.618 MB / 411 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2648, allocations: 4 kB / 411 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.2649, allocations: 24.83 kB / 411 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.2651, allocations: 80.58 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.2652, allocations: 6.234 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.2678, allocations: 2.816 MB / 413.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2678, allocations: 0 / 413.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.2685, allocations: 385.6 kB / 414.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.2685, allocations: 34.22 kB / 414.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.2685, allocations: 6.328 kB / 414.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.2688, allocations: 30.12 kB / 414.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.2689, allocations: 20.3 kB / 414.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.2689, allocations: 5.156 kB / 414.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.2691, allocations: 194.5 kB / 414.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2691, allocations: 4 kB / 414.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.2695, allocations: 91.17 kB / 414.6 MB, free: 12.01 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.001043/0.2706, allocations: 0.9058 MB / 415.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000864/0.2714, allocations: 435.9 kB / 416 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2714, allocations: 0.9688 kB / 416 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.2719, allocations: 342.8 kB / 416.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.2723, allocations: 42.86 kB / 416.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.2759, allocations: 2.703 MB / 419 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.2761, allocations: 165.2 kB / 419.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.2762, allocations: 19.56 kB / 419.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.2763, allocations: 87.5 kB / 419.3 MB, free: 8.664 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2763, allocations: 4 kB / 419.3 MB, free: 8.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.3112, allocations: 7.052 MB / 426.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.7, allocations: 8.047 kB / 426.4 MB, free: 4.797 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: 14.18500588205643]