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.001492/0.001492, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001714/0.001714, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.363/1.363, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001459/0.001459, allocations: 43.92 kB / 378.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2281, allocations: 53.36 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001502/0.2296, allocations: 0.5122 MB / 432.4 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2313, allocations: 1.466 MB / 433.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.2313, allocations: 0 / 433.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.2314, allocations: 3.938 kB / 433.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.182e-05/0.2314, allocations: 0 / 433.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.232, allocations: 185 kB / 434.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.911e-05/0.232, allocations: 15.98 kB / 434.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.2321, allocations: 0 / 434.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.2321, allocations: 7.938 kB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.2321, allocations: 15.97 kB / 434.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.2322, allocations: 0 / 434.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.2324, allocations: 179.8 kB / 434.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.2324, allocations: 3.938 kB / 434.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.2325, allocations: 4 kB / 434.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.2327, allocations: 127.6 kB / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2327, allocations: 0 / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2327, allocations: 4 kB / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2327, allocations: 0 / 434.4 MB, free: 4.367 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.00031/0.233, allocations: 270.2 kB / 434.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.233, allocations: 11.97 kB / 434.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.187e-05/0.233, allocations: 8.188 kB / 434.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.2331, allocations: 30.75 kB / 434.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.2332, allocations: 8.922 kB / 434.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.486e-05/0.2333, allocations: 106.5 kB / 434.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.2333, allocations: 4.125 kB / 434.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.2333, allocations: 3.938 kB / 434.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.2334, allocations: 29.7 kB / 434.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.2334, allocations: 0 / 434.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.2334, allocations: 0 / 434.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.2334, allocations: 4 kB / 434.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.2334, allocations: 7.984 kB / 434.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.2338, allocations: 370.9 kB / 435.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.2339, allocations: 169.1 kB / 435.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.2339, allocations: 80.14 kB / 435.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.2339, allocations: 83.28 kB / 435.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.234, allocations: 109.8 kB / 435.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.234, allocations: 0 / 435.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.861e-05/0.234, allocations: 37.58 kB / 435.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.2341, allocations: 156.4 kB / 435.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.2342, allocations: 109.8 kB / 436 MB, free: 2.629 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2342, allocations: 25.7 kB / 436 MB, free: 2.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.2343, allocations: 92.08 kB / 436.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.2343, allocations: 0 / 436.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.2343, allocations: 17.72 kB / 436.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2345, allocations: 318.8 kB / 436.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.2345, allocations: 0 / 436.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.2345, allocations: 8 kB / 436.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.239e-05/0.2345, allocations: 8.859 kB / 436.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2345, allocations: 4.094 kB / 436.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.883e-05/0.2346, allocations: 41.59 kB / 436.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.2346, allocations: 4 kB / 436.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.2346, allocations: 0 / 436.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2347, allocations: 3.984 kB / 436.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.2347, allocations: 7.984 kB / 436.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.2347, allocations: 0 / 436.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.2347, allocations: 0 / 436.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.2347, allocations: 3.938 kB / 436.5 MB, free: 2.07 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.0001132/0.2349, allocations: 193.2 kB / 436.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/0.2349, allocations: 104.9 kB / 436.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.235, allocations: 112.4 kB / 436.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.748e-05/0.2351, allocations: 176.3 kB / 437.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.376e-05/0.2351, allocations: 180.2 kB / 437.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.836e-05/0.2352, allocations: 180.3 kB / 437.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.2355, allocations: 384.2 kB / 437.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.135e-05/0.2355, allocations: 105 kB / 437.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.2355, allocations: 101 kB / 438 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-05/0.2356, allocations: 188.2 kB / 438.2 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-05/0.2357, allocations: 184.2 kB / 438.4 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.574e-05/0.2358, allocations: 192.3 kB / 438.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-05/0.2359, allocations: 180.3 kB / 438.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.236, allocations: 311.7 kB / 439 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.236, allocations: 101 kB / 439.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.2361, allocations: 188.2 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.2362, allocations: 101 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.2363, allocations: 180.3 kB / 439.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.2363, allocations: 108.9 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.881e-05/0.2364, allocations: 95.47 kB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2364, allocations: 0 / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.2367, allocations: 39.92 kB / 439.8 MB, free: 14.54 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.0006527/0.2373, allocations: 0.8644 MB / 440.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.35e-05/0.2374, allocations: 11.94 kB / 440.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.2374, allocations: 64 / 440.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.2374, allocations: 4 kB / 440.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.2378, allocations: 459.7 kB / 441.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.2381, allocations: 209.8 kB / 441.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.2384, allocations: 0.6729 MB / 442 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.954e-05/0.2385, allocations: 15.97 kB / 442.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.2385, allocations: 15.42 kB / 442.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2385, allocations: 0 / 442.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.2604, allocations: 2.007 MB / 444.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.78, allocations: 7.438 kB / 444.1 MB, free: 10.35 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.028015169024002]