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.001246/0.001246, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001337/0.001337, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.414/1.414, allocations: 230.4 MB / 254.7 MB, free: 15.03 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 67.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1027, allocations: 53.37 MB / 427 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001781/0.1045, allocations: 0.4993 MB / 427.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1066, allocations: 1.451 MB / 429 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.1067, allocations: 0 / 429 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.1067, allocations: 0 / 429 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.03e-05/0.1067, allocations: 0 / 429 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.1074, allocations: 192.4 kB / 429.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.1075, allocations: 19.97 kB / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.1076, allocations: 0 / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.1076, allocations: 7.938 kB / 429.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/0.1077, allocations: 19.92 kB / 429.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1077, allocations: 3.938 kB / 429.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.108, allocations: 170.6 kB / 429.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.108, allocations: 7.984 kB / 429.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.1081, allocations: 15.92 kB / 429.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1083, allocations: 119.7 kB / 429.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1083, allocations: 4 kB / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1083, allocations: 0 / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1083, allocations: 0 / 429.5 MB, free: 2.133 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.0004326/0.1088, allocations: 351.3 kB / 429.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1088, allocations: 8.031 kB / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.328e-05/0.1088, allocations: 192 / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.1088, allocations: 34.75 kB / 429.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.109, allocations: 4.938 kB / 429.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1091, allocations: 168.4 kB / 430.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1091, allocations: 4.125 kB / 430.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1091, allocations: 0 / 430.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1093, allocations: 33.69 kB / 430.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1093, allocations: 3.938 kB / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1093, allocations: 0 / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1093, allocations: 0 / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.503e-05/0.1093, allocations: 8 kB / 430.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.1098, allocations: 481 kB / 430.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.715e-05/0.1098, allocations: 165.1 kB / 430.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.1099, allocations: 80.14 kB / 430.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1099, allocations: 79.22 kB / 430.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/0.11, allocations: 113.8 kB / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.11, allocations: 0 / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.044e-05/0.1101, allocations: 33.66 kB / 431.1 MB, free: 408 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.1101, allocations: 152.4 kB / 431.2 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1102, allocations: 105.8 kB / 431.3 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1103, allocations: 29.7 kB / 431.4 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.1103, allocations: 84.22 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.1103, allocations: 4 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.1104, allocations: 17.7 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1105, allocations: 318.7 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.1105, allocations: 4 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/0.1105, allocations: 11.94 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.1106, allocations: 8.844 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1106, allocations: 0 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001149/0.1107, allocations: 41.75 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1107, allocations: 4 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1107, allocations: 4 kB / 431.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1107, allocations: 3.938 kB / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-05/0.1108, allocations: 0 / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1108, allocations: 3.984 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.1108, allocations: 0 / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1108, allocations: 7.938 kB / 431.9 MB, free: 15.55 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.0001123/0.1109, allocations: 193.1 kB / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.111, allocations: 109 kB / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.1111, allocations: 104.5 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.761e-05/0.1111, allocations: 180.3 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.554e-05/0.1112, allocations: 188.3 kB / 432.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-05/0.1113, allocations: 176.3 kB / 432.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.1117, allocations: 417.1 kB / 433.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-05/0.1117, allocations: 101 kB / 433.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.1118, allocations: 105.2 kB / 433.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.828e-05/0.1118, allocations: 184.3 kB / 433.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.04e-05/0.1119, allocations: 188.2 kB / 433.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.828e-05/0.112, allocations: 180.2 kB / 433.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.803e-05/0.1121, allocations: 180.3 kB / 434.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.1122, allocations: 311.7 kB / 434.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.39e-05/0.1123, allocations: 190 kB / 434.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.914e-05/0.1124, allocations: 176.3 kB / 434.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1125, allocations: 105 kB / 434.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.1126, allocations: 184.2 kB / 435.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.1127, allocations: 105 kB / 435.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.052e-05/0.1128, allocations: 91.2 kB / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1128, allocations: 0 / 435.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.1131, allocations: 35.94 kB / 435.3 MB, free: 11.89 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.0007532/0.1138, allocations: 0.8855 MB / 436.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.431e-05/0.1139, allocations: 4 kB / 436.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1139, allocations: 4 kB / 436.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.1139, allocations: 0 / 436.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.1143, allocations: 455.8 kB / 436.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.1147, allocations: 213.8 kB / 436.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.115, allocations: 0.6729 MB / 437.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.1152, allocations: 11.98 kB / 437.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.1152, allocations: 11.44 kB / 437.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1152, allocations: 0 / 437.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.1341, allocations: 1.904 MB / 439.4 MB, free: 7.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/7.88, allocations: 34.55 kB / 439.5 MB, free: 7.746 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/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_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.302405112015549]