Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 184.4 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 43.92 kB / 371.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2357, allocations: 52.19 MB / 423.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001635/0.2373, allocations: 0.5034 MB / 423.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.2391, allocations: 1.333 MB / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.2391, allocations: 0 / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.2392, allocations: 0 / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.558e-05/0.2392, allocations: 0 / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.2398, allocations: 183.3 kB / 425.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.479e-05/0.2398, allocations: 12 kB / 425.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.2399, allocations: 4 kB / 425.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.2399, allocations: 19.84 kB / 425.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.24, allocations: 8 kB / 425.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.24, allocations: 0 / 425.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.2403, allocations: 163.8 kB / 425.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.2403, allocations: 4 kB / 425.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.2403, allocations: 3.938 kB / 425.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.2405, allocations: 120.5 kB / 425.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.2405, allocations: 3.984 kB / 425.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2405, allocations: 7.938 kB / 425.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2405, allocations: 0 / 425.7 MB, free: 12.05 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.0003654/0.2409, allocations: 270.2 kB / 426 MB, free: 11.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2409, allocations: 8.031 kB / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.709e-05/0.2409, allocations: 192 / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.241, allocations: 34.75 kB / 426 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.241, allocations: 12.89 kB / 426 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2411, allocations: 106.5 kB / 426.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.2411, allocations: 4.125 kB / 426.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2412, allocations: 11.94 kB / 426.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.2413, allocations: 59.39 kB / 426.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.2413, allocations: 0 / 426.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.2413, allocations: 0 / 426.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2413, allocations: 0 / 426.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.808e-05/0.2413, allocations: 7.938 kB / 426.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.2418, allocations: 367 kB / 426.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2419, allocations: 181.2 kB / 426.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.2419, allocations: 84.14 kB / 426.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.242, allocations: 75.28 kB / 426.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.57e-05/0.242, allocations: 109.8 kB / 427 MB, free: 10.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.242, allocations: 0 / 427 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.997e-05/0.2421, allocations: 29.7 kB / 427 MB, free: 10.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.495e-05/0.2422, allocations: 152.4 kB / 427.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2423, allocations: 109.8 kB / 427.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.2424, allocations: 25.7 kB / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.2424, allocations: 88.09 kB / 427.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.2424, allocations: 4 kB / 427.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.2425, allocations: 21.7 kB / 427.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2426, allocations: 314.8 kB / 427.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.2426, allocations: 4 kB / 427.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.221e-05/0.2427, allocations: 29.7 kB / 427.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.2427, allocations: 8.797 kB / 427.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2427, allocations: 3.938 kB / 427.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001169/0.2428, allocations: 41.69 kB / 427.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2428, allocations: 8 kB / 427.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2428, allocations: 4.125 kB / 427.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2429, allocations: 0 / 427.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.2429, allocations: 0 / 427.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2429, allocations: 0 / 427.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.243, allocations: 4 kB / 427.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.243, allocations: 3.938 kB / 427.8 MB, free: 9.695 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.0001122/0.2431, allocations: 185.1 kB / 428 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.2432, allocations: 112.9 kB / 428.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.2432, allocations: 112.5 kB / 428.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.984e-05/0.2433, allocations: 180.2 kB / 428.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.444e-05/0.2434, allocations: 180.3 kB / 428.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.387e-05/0.2435, allocations: 180.3 kB / 428.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.2437, allocations: 384.4 kB / 429.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.083e-05/0.2438, allocations: 101 kB / 429.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.2438, allocations: 112.9 kB / 429.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.307e-05/0.2439, allocations: 180.3 kB / 429.5 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.263e-05/0.244, allocations: 180.2 kB / 429.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.236e-05/0.2441, allocations: 180.2 kB / 429.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.447e-05/0.2441, allocations: 184.5 kB / 430.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.2443, allocations: 315.7 kB / 430.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.2444, allocations: 109 kB / 430.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.572e-05/0.2445, allocations: 184.2 kB / 430.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2446, allocations: 101 kB / 430.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.2447, allocations: 188.2 kB / 430.9 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/0.2447, allocations: 101 kB / 431 MB, free: 6.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.43e-05/0.2448, allocations: 91.22 kB / 431.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2448, allocations: 0 / 431.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.2451, allocations: 39.86 kB / 431.2 MB, free: 6.164 MB / 334.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.0007911/0.2459, allocations: 0.8879 MB / 432.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.233e-05/0.2459, allocations: 7.938 kB / 432.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2459, allocations: 0 / 432.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.2459, allocations: 0 / 432.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.2463, allocations: 455.7 kB / 432.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.2467, allocations: 221.7 kB / 432.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.477e-05/0.2468, allocations: 67.14 kB / 432.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.2469, allocations: 16.05 kB / 432.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.2469, allocations: 11.44 kB / 432.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2469, allocations: 0 / 432.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.2678, allocations: 1.983 MB / 434.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.75, allocations: 14.69 kB / 434.8 MB, free: 2.598 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.041855420917273]