Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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.001857/0.001857, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00228/0.00228, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 39.94 kB / 378.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2653, allocations: 53.37 MB / 431.8 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001613/0.2669, allocations: 0.5006 MB / 432.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.269, allocations: 1.4 MB / 433.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.2691, allocations: 0 / 433.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.2691, allocations: 3.938 kB / 433.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.201e-05/0.2691, allocations: 7.938 kB / 433.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.27, allocations: 185 kB / 433.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.556e-05/0.27, allocations: 19.97 kB / 434 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.2701, allocations: 0 / 434 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.2701, allocations: 11.94 kB / 434 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.899e-05/0.2702, allocations: 19.92 kB / 434 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2702, allocations: 0 / 434 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.2705, allocations: 173.5 kB / 434.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.2705, allocations: 3.984 kB / 434.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.2705, allocations: 4 kB / 434.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2708, allocations: 127.6 kB / 434.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2708, allocations: 0 / 434.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2708, allocations: 0 / 434.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2708, allocations: 0 / 434.3 MB, free: 4.223 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003936/0.2712, allocations: 274.2 kB / 434.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2712, allocations: 12.03 kB / 434.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.32e-05/0.2713, allocations: 4.188 kB / 434.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.2713, allocations: 30.75 kB / 434.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.2714, allocations: 4.938 kB / 434.6 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2716, allocations: 114.5 kB / 434.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2716, allocations: 8.125 kB / 434.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.2716, allocations: 0 / 434.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.2717, allocations: 55.41 kB / 434.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2717, allocations: 3.938 kB / 434.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2717, allocations: 0 / 434.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2717, allocations: 0 / 434.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.2718, allocations: 8 kB / 434.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.2722, allocations: 370.9 kB / 435.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.2723, allocations: 169.1 kB / 435.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.2724, allocations: 84.14 kB / 435.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.2724, allocations: 79.22 kB / 435.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.803e-05/0.2725, allocations: 105.8 kB / 435.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2725, allocations: 0 / 435.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.364e-05/0.2726, allocations: 29.7 kB / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.2727, allocations: 152.4 kB / 435.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.2728, allocations: 113.8 kB / 435.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.2728, allocations: 29.7 kB / 435.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.2729, allocations: 88.08 kB / 436 MB, free: 2.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.2729, allocations: 0 / 436 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.2729, allocations: 21.7 kB / 436 MB, free: 2.309 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2731, allocations: 318.8 kB / 436.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.2731, allocations: 3.938 kB / 436.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.2731, allocations: 33.64 kB / 436.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.2732, allocations: 8.844 kB / 436.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2732, allocations: 0 / 436.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001218/0.2733, allocations: 41.78 kB / 436.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2733, allocations: 12 kB / 436.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2733, allocations: 0 / 436.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2733, allocations: 0 / 436.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.2734, allocations: 0 / 436.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2734, allocations: 4 kB / 436.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.2734, allocations: 0 / 436.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2734, allocations: 3.938 kB / 436.4 MB, free: 1.867 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.2735, allocations: 189.1 kB / 436.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.2736, allocations: 104.9 kB / 436.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.087e-05/0.2737, allocations: 116.4 kB / 436.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.128e-05/0.2738, allocations: 184.2 kB / 437 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.893e-05/0.2739, allocations: 180.2 kB / 437.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.648e-05/0.2739, allocations: 180.3 kB / 437.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.2742, allocations: 380.2 kB / 437.7 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.836e-05/0.2742, allocations: 105 kB / 437.8 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.2743, allocations: 104.9 kB / 437.9 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.813e-05/0.2744, allocations: 180.3 kB / 438.1 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.2745, allocations: 180.5 kB / 438.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-05/0.2746, allocations: 184.2 kB / 438.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.183e-05/0.2747, allocations: 188.3 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.2749, allocations: 303.7 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.2749, allocations: 116.9 kB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.275, allocations: 180.2 kB / 439.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2752, allocations: 101 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/0.2753, allocations: 184.2 kB / 439.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.2753, allocations: 101 kB / 439.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.202e-05/0.2754, allocations: 99.45 kB / 439.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2754, allocations: 0 / 439.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.2757, allocations: 39.94 kB / 439.7 MB, free: 14.34 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008729/0.2766, allocations: 0.8897 MB / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.145e-05/0.2767, allocations: 0 / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2767, allocations: 0 / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.2767, allocations: 4 kB / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.2771, allocations: 458 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.2776, allocations: 217.7 kB / 441.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.617e-05/0.2776, allocations: 59.34 kB / 441.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.2778, allocations: 12.05 kB / 441.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.2778, allocations: 15.44 kB / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2778, allocations: 0 / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.3005, allocations: 2.053 MB / 443.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.89, allocations: 10.56 kB / 443.4 MB, free: 10.71 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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.206449634046294]