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.0009118/0.0009118, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001422/0.001422, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8786/0.8786, allocations: 173.3 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.089e-05, allocations: 2.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001151/0.001172, allocations: 0.4966 MB / 318.9 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.002462, allocations: 1.341 MB / 320.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.002485, allocations: 0 / 320.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.002501, allocations: 0 / 320.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.541e-05/0.002526, allocations: 3.938 kB / 320.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.003031, allocations: 190.3 kB / 320.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.909e-05/0.00308, allocations: 15.94 kB / 320.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.003124, allocations: 7.969 kB / 320.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.274e-05/0.003177, allocations: 8 kB / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.003228, allocations: 11.98 kB / 320.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.003245, allocations: 0 / 320.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.003433, allocations: 155.7 kB / 320.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.003447, allocations: 7.984 kB / 320.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.003463, allocations: 3.984 kB / 320.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.003648, allocations: 151.6 kB / 320.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.003651, allocations: 0 / 320.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.003652, allocations: 0 / 320.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.003657, allocations: 0 / 320.8 MB, free: 3.973 MB / 282.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.0002588/0.003915, allocations: 270.2 kB / 321.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.003955, allocations: 8.922 kB / 321.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.003984, allocations: 34.75 kB / 321.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.004011, allocations: 8.891 kB / 321.1 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.118e-05/0.004082, allocations: 113.8 kB / 321.2 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.004093, allocations: 4.375 kB / 321.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.0041, allocations: 384 / 321.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.682e-05/0.004197, allocations: 59.72 kB / 321.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.004202, allocations: 0 / 321.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.004211, allocations: 0 / 321.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.004216, allocations: 0 / 321.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.975e-05/0.004235, allocations: 7.938 kB / 321.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.004563, allocations: 371 kB / 321.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.077e-05/0.004624, allocations: 169.1 kB / 321.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.004658, allocations: 84.14 kB / 321.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.004676, allocations: 79.28 kB / 322 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.00471, allocations: 105.8 kB / 322.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.004711, allocations: 0 / 322.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.007e-05/0.004771, allocations: 37.59 kB / 322.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.004829, allocations: 152.4 kB / 322.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.004912, allocations: 109.8 kB / 322.4 MB, free: 2.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.004922, allocations: 25.7 kB / 322.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.00498, allocations: 84.14 kB / 322.5 MB, free: 2.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.004982, allocations: 0 / 322.5 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.005011, allocations: 21.7 kB / 322.5 MB, free: 2.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.005079, allocations: 314.8 kB / 322.8 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.00509, allocations: 4 kB / 322.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.005111, allocations: 29.7 kB / 322.8 MB, free: 1.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/0.005134, allocations: 16.67 kB / 322.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005135, allocations: 3.938 kB / 322.9 MB, free: 1.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001326/0.005268, allocations: 41.69 kB / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.00528, allocations: 4 kB / 322.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005284, allocations: 4 kB / 322.9 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.005296, allocations: 0 / 322.9 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.005346, allocations: 4.125 kB / 322.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.00535, allocations: 0 / 322.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.005386, allocations: 7.953 kB / 322.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.005393, allocations: 0 / 322.9 MB, free: 1.621 MB / 282.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.049e-05/0.005464, allocations: 193 kB / 323.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.005501, allocations: 104.9 kB / 323.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.005534, allocations: 108.5 kB / 323.3 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.443e-05/0.005579, allocations: 184.2 kB / 323.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.261e-05/0.005631, allocations: 180.2 kB / 323.7 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001082/0.00574, allocations: 184.2 kB / 323.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.005925, allocations: 384.2 kB / 324.2 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/0.005954, allocations: 105.3 kB / 324.3 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.006, allocations: 109 kB / 324.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.005e-05/0.00605, allocations: 180.2 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.0061, allocations: 184.3 kB / 324.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.866e-05/0.006149, allocations: 184.2 kB / 325 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.854e-05/0.006197, allocations: 180.3 kB / 325.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.006334, allocations: 307.7 kB / 325.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.006365, allocations: 101 kB / 325.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.006415, allocations: 188.2 kB / 325.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.006489, allocations: 105 kB / 325.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.006533, allocations: 184.3 kB / 326 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.006556, allocations: 104.9 kB / 326.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.416e-05/0.0066, allocations: 87.28 kB / 326.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0066, allocations: 0 / 326.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.00679, allocations: 35.92 kB / 326.2 MB, free: 14.1 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.000757/0.007547, allocations: 0.9053 MB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.116e-05/0.007619, allocations: 7.938 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.007621, allocations: 0 / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.007622, allocations: 0 / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.007857, allocations: 463.6 kB / 327.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.00815, allocations: 205.8 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.008186, allocations: 59.36 kB / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.094e-05/0.008277, allocations: 12.03 kB / 327.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.008302, allocations: 16.5 kB / 327.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of SimCode: time 7.42e-07/0.008303, allocations: 0 / 327.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.02482, allocations: 2.49 MB / 330.4 MB, free: 9.992 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.502/6.527, allocations: 17.77 kB / 330.4 MB, free: 9.984 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/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: 8.127182980068028]