Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00151/0.00151, allocations: 121.5 kB / 19.17 MB, free: 3.898 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.001325/0.001325, allocations: 203.9 kB / 22.12 MB, free: 0.9609 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.296/1.296, allocations: 207.6 MB / 232.5 MB, free: 11.53 MB / 190.1 MB " [Timeout remaining time 179] 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.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",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.001688/0.001688, allocations: 51.94 kB / 343 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2417, allocations: 49.12 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00282/0.2445, allocations: 2.279 MB / 394.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00096/0.2454, allocations: 0.7792 MB / 395.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.2455, allocations: 0 / 395.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.235e-05/0.2455, allocations: 7.875 kB / 395.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.816e-05/0.2456, allocations: 10.89 kB / 395.2 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.2461, allocations: 210.4 kB / 395.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.2462, allocations: 19.92 kB / 395.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.2463, allocations: 5.938 kB / 395.4 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.2463, allocations: 18.95 kB / 395.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/0.2464, allocations: 12.38 kB / 395.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.956e-06/0.2464, allocations: 1.281 kB / 395.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.2466, allocations: 192.2 kB / 395.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.2466, allocations: 6.266 kB / 395.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.2467, allocations: 7.562 kB / 395.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.2469, allocations: 125.6 kB / 395.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2469, allocations: 0.5156 kB / 395.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2469, allocations: 0 / 395.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.2469, allocations: 3.938 kB / 395.8 MB, free: 6.324 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000287/0.2472, allocations: 360.1 kB / 396.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2472, allocations: 13.69 kB / 396.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.841e-05/0.2472, allocations: 192 / 396.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.709e-05/0.2473, allocations: 31.31 kB / 396.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.2473, allocations: 7.078 kB / 396.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.714e-05/0.2474, allocations: 164.4 kB / 396.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2474, allocations: 1.531 kB / 396.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-06/0.2474, allocations: 384 / 396.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.74e-05/0.2475, allocations: 36.98 kB / 396.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2475, allocations: 0 / 396.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.2475, allocations: 9.188 kB / 396.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2475, allocations: 3.938 kB / 396.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.2475, allocations: 8.578 kB / 396.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.2478, allocations: 397.5 kB / 396.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.088e-05/0.2478, allocations: 166.4 kB / 396.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.2478, allocations: 85.3 kB / 397 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.2478, allocations: 76.03 kB / 397.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.2478, allocations: 107 kB / 397.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2478, allocations: 0 / 397.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 6.916e-05/0.2479, allocations: 41.31 kB / 397.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.248, allocations: 152.4 kB / 397.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.248, allocations: 124 kB / 397.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.2481, allocations: 26.86 kB / 397.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.2481, allocations: 86.7 kB / 397.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.2481, allocations: 1.281 kB / 397.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.2481, allocations: 14.98 kB / 397.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.2482, allocations: 321.7 kB / 398 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.2482, allocations: 0.9688 kB / 398 MB, free: 4.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/0.2482, allocations: 5.906 kB / 398 MB, free: 4.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.318e-05/0.2482, allocations: 15.95 kB / 398 MB, free: 3.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2482, allocations: 0 / 398 MB, free: 3.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.752e-05/0.2483, allocations: 48.14 kB / 398 MB, free: 3.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2483, allocations: 6.031 kB / 398 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2483, allocations: 0.5156 kB / 398 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2483, allocations: 0 / 398 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-05/0.2484, allocations: 2.766 kB / 398 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2484, allocations: 1.094 kB / 398 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.2484, allocations: 0.5625 kB / 398 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.2484, allocations: 6.516 kB / 398 MB, free: 3.949 MB / 318.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 4.974e-05/0.2485, allocations: 187.8 kB / 398.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.2485, allocations: 112.2 kB / 398.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.2486, allocations: 107.2 kB / 398.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.2486, allocations: 178.5 kB / 398.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/0.2486, allocations: 182.2 kB / 398.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.2486, allocations: 181.4 kB / 399 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.2487, allocations: 413.7 kB / 399.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.2488, allocations: 106.7 kB / 399.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.2488, allocations: 106.8 kB / 399.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-05/0.2488, allocations: 182.1 kB / 399.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2488, allocations: 180.8 kB / 399.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.099e-05/0.2488, allocations: 186 kB / 400.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-05/0.2489, allocations: 177.9 kB / 400.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.085e-05/0.2489, allocations: 310.5 kB / 400.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.2489, allocations: 193.5 kB / 400.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.249, allocations: 186.2 kB / 401 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.249, allocations: 102.8 kB / 401.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.2491, allocations: 186.1 kB / 401.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2491, allocations: 102.9 kB / 401.3 MB, free: 472 kB / 318.1 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.2491, allocations: 91.36 kB / 401.4 MB, free: 392 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2491, allocations: 0 / 401.4 MB, free: 392 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.2494, allocations: 46.7 kB / 401.5 MB, free: 380 kB / 318.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.0007314/0.2501, allocations: 0.8932 MB / 402.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.995e-05/0.2502, allocations: 4.906 kB / 402.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2502, allocations: 3.938 kB / 402.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.2502, allocations: 0 / 402.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.2506, allocations: 470.8 kB / 402.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.2519, allocations: 1.351 MB / 404.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.2523, allocations: 0.6763 MB / 404.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.259e-05/0.2523, allocations: 10.08 kB / 404.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.2523, allocations: 14.08 kB / 404.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2523, allocations: 0 / 404.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.2718, allocations: 2.127 MB / 407 MB, free: 12.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.817, allocations: 8.188 kB / 407 MB, free: 12.34 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.925951621029526]