Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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.001623/0.001623, allocations: 117.3 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.001903/0.001903, allocations: 218.6 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.411/1.411, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 67.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09645, allocations: 53.33 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001542/0.09799, allocations: 0.4971 MB / 427.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.09976, allocations: 1.455 MB / 428.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.09978, allocations: 0 / 428.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.0998, allocations: 3.938 kB / 428.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.724e-05/0.09982, allocations: 0 / 428.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.1004, allocations: 185.7 kB / 428.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.949e-05/0.1005, allocations: 15.97 kB / 428.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.1005, allocations: 0 / 428.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.1005, allocations: 8 kB / 428.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.1006, allocations: 15.92 kB / 428.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1006, allocations: 0 / 428.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.1009, allocations: 167.8 kB / 429 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.1009, allocations: 11.97 kB / 429 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.1009, allocations: 7.938 kB / 429 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1011, allocations: 119.7 kB / 429.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1011, allocations: 4 kB / 429.1 MB, free: 2.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1011, allocations: 4 kB / 429.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1011, allocations: 0 / 429.1 MB, free: 2.496 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003578/0.1015, allocations: 351.3 kB / 429.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1015, allocations: 11.97 kB / 429.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.1015, allocations: 30.75 kB / 429.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1017, allocations: 4.938 kB / 429.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1018, allocations: 164.4 kB / 429.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1018, allocations: 384 / 429.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.1018, allocations: 7.938 kB / 429.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.452e-05/0.1019, allocations: 33.7 kB / 429.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1019, allocations: 0 / 429.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1019, allocations: 4 kB / 429.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1019, allocations: 0 / 429.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.679e-05/0.1019, allocations: 0 / 429.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.1023, allocations: 484.9 kB / 430.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.382e-05/0.1024, allocations: 177.1 kB / 430.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.1025, allocations: 80.14 kB / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1025, allocations: 75.28 kB / 430.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.1026, allocations: 109.8 kB / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1026, allocations: 0 / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.316e-05/0.1026, allocations: 37.59 kB / 430.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/0.1027, allocations: 160.4 kB / 430.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.1028, allocations: 101.9 kB / 430.9 MB, free: 484 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1028, allocations: 25.7 kB / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.1029, allocations: 92.12 kB / 431 MB, free: 356 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.1029, allocations: 0 / 431 MB, free: 356 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.1029, allocations: 13.72 kB / 431.1 MB, free: 336 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.103, allocations: 314.8 kB / 431.4 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.1031, allocations: 8 kB / 431.4 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.1031, allocations: 11.92 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.221e-05/0.1031, allocations: 8.859 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1031, allocations: 0 / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.864e-05/0.1032, allocations: 45.58 kB / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.1032, allocations: 4 kB / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1032, allocations: 0 / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1032, allocations: 0 / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/0.1033, allocations: 4.125 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.1033, allocations: 4 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.1033, allocations: 0 / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.1033, allocations: 7.984 kB / 431.5 MB, free: 15.91 MB / 366.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.0001044/0.1034, allocations: 189.1 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.1035, allocations: 105 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.1035, allocations: 108.5 kB / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.459e-05/0.1036, allocations: 184.3 kB / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-05/0.1037, allocations: 184.2 kB / 432.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-05/0.1038, allocations: 184.3 kB / 432.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.104, allocations: 405.1 kB / 432.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.173e-05/0.1041, allocations: 105 kB / 432.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.1041, allocations: 105 kB / 433 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.692e-05/0.1042, allocations: 188.2 kB / 433.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.1043, allocations: 180.2 kB / 433.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.189e-05/0.1043, allocations: 184.2 kB / 433.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.856e-05/0.1044, allocations: 176.3 kB / 433.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.1046, allocations: 311.7 kB / 434 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.1046, allocations: 182.1 kB / 434.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/0.1047, allocations: 184.5 kB / 434.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1048, allocations: 105 kB / 434.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.1049, allocations: 184.2 kB / 434.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.105, allocations: 112.9 kB / 434.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.297e-05/0.105, allocations: 87.28 kB / 434.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.105, allocations: 0 / 434.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.1053, allocations: 43.86 kB / 434.9 MB, free: 12.25 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 (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.0006906/0.106, allocations: 0.8796 MB / 435.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.703e-05/0.1061, allocations: 7.938 kB / 435.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1061, allocations: 4 kB / 435.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.1061, allocations: 0 / 435.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1065, allocations: 462.4 kB / 436.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.1068, allocations: 205.8 kB / 436.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1071, allocations: 0.6768 MB / 437.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.298e-05/0.1072, allocations: 15.97 kB / 437.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.1072, allocations: 11.42 kB / 437.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1072, allocations: 0 / 437.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.1304, allocations: 1.876 MB / 439 MB, free: 8.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.839, allocations: 21.97 kB / 439 MB, free: 8.129 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.241877256892622]