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.0007886/0.0007886, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009336/0.0009336, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8565/0.8565, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.854e-06/1.854e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.448e-05, allocations: 2.844 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001118/0.001142, allocations: 0.5087 MB / 325 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.002572, allocations: 1.411 MB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.002597, allocations: 0 / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.002613, allocations: 4 kB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.773e-05/0.002641, allocations: 0 / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.003204, allocations: 182.8 kB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.225e-05/0.003257, allocations: 15.94 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.0033, allocations: 3.984 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.416e-05/0.003354, allocations: 8 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.003413, allocations: 19.91 kB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.003429, allocations: 0 / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.003631, allocations: 159.8 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.003644, allocations: 4 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.00366, allocations: 0 / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.003866, allocations: 159.6 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.003868, allocations: 3.938 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.00387, allocations: 0 / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.003874, allocations: 4 kB / 327 MB, free: 13.41 MB / 298.7 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.0002874/0.004161, allocations: 278.2 kB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.004207, allocations: 11.98 kB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.004235, allocations: 34.75 kB / 327.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.004356, allocations: 4.938 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.953e-05/0.004435, allocations: 105.8 kB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.004448, allocations: 384 / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-06/0.004455, allocations: 384 / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.004866, allocations: 63.7 kB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004873, allocations: 0 / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.004883, allocations: 4 kB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.004887, allocations: 0 / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.326e-05/0.004911, allocations: 4 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.00528, allocations: 378.9 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.486e-05/0.005345, allocations: 165.1 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.005368, allocations: 84.14 kB / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.005387, allocations: 75.28 kB / 328.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.00542, allocations: 113.8 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.005421, allocations: 0 / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.228e-05/0.005483, allocations: 33.64 kB / 328.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.005535, allocations: 160.3 kB / 328.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.00562, allocations: 109.8 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.005632, allocations: 29.7 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.005678, allocations: 88.14 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.005681, allocations: 0 / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.005709, allocations: 13.72 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.00578, allocations: 318.8 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.00579, allocations: 4 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.005811, allocations: 29.7 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.123e-05/0.005832, allocations: 8.797 kB / 329 MB, free: 11.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005834, allocations: 0 / 329 MB, free: 11.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.227e-05/0.005926, allocations: 41.59 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.005942, allocations: 12.11 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.005947, allocations: 4 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.005961, allocations: 3.984 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.006012, allocations: 0 / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.006017, allocations: 4 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.006043, allocations: 0 / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.00605, allocations: 0 / 329.1 MB, free: 11.06 MB / 298.7 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 7.062e-05/0.006121, allocations: 193.1 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.00616, allocations: 104.9 kB / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.006197, allocations: 116.2 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.084e-05/0.006248, allocations: 176.3 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.093e-05/0.006309, allocations: 184.2 kB / 329.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-05/0.006351, allocations: 184.3 kB / 330 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.006495, allocations: 384.3 kB / 330.4 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/0.006518, allocations: 105 kB / 330.5 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.006542, allocations: 105 kB / 330.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.2e-05/0.006584, allocations: 188.2 kB / 330.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.006639, allocations: 176.3 kB / 331 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.405e-05/0.006684, allocations: 180.2 kB / 331.2 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.02e-05/0.006724, allocations: 180.3 kB / 331.3 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.006827, allocations: 311.7 kB / 331.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.006859, allocations: 109 kB / 331.7 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.006915, allocations: 180.2 kB / 331.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.006977, allocations: 101 kB / 332 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.007025, allocations: 184.2 kB / 332.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.007051, allocations: 108.9 kB / 332.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.971e-05/0.007091, allocations: 95.53 kB / 332.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007091, allocations: 0 / 332.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.007299, allocations: 39.92 kB / 332.4 MB, free: 7.527 MB / 298.7 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.0005229/0.007822, allocations: 0.8831 MB / 333.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.412e-05/0.007896, allocations: 7.938 kB / 333.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.007898, allocations: 0 / 333.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.474e-06/0.007901, allocations: 4 kB / 333.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.008152, allocations: 463.7 kB / 333.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.008451, allocations: 213.6 kB / 334 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.9e-05/0.00849, allocations: 55.36 kB / 334 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.008612, allocations: 11.98 kB / 334.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.008642, allocations: 16.55 kB / 334.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.008644, allocations: 0 / 334.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.03331, allocations: 2.547 MB / 336.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.506/6.54, allocations: 7.922 kB / 336.6 MB, free: 3.336 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/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: 8.140518532134593]