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.001746/0.001746, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002164/0.002164, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 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 1.405/1.405, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00193/0.00193, allocations: 59.91 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2591, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001614/0.2607, allocations: 0.5045 MB / 431.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.2628, allocations: 1.47 MB / 433.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.2628, allocations: 0 / 433.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.2628, allocations: 0 / 433.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.012e-05/0.2629, allocations: 3.938 kB / 433.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.2635, allocations: 186.9 kB / 433.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.453e-05/0.2636, allocations: 15.94 kB / 433.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.2636, allocations: 4 kB / 433.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/0.2637, allocations: 11.92 kB / 433.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.2637, allocations: 8 kB / 433.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2637, allocations: 3.984 kB / 433.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.2641, allocations: 175.4 kB / 433.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.2641, allocations: 7.938 kB / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.2641, allocations: 7.984 kB / 433.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.2643, allocations: 124.1 kB / 433.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2643, allocations: 0 / 433.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2643, allocations: 0 / 433.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2643, allocations: 4 kB / 433.7 MB, free: 4.168 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.0003551/0.2647, allocations: 274.2 kB / 434 MB, free: 3.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.2647, allocations: 12.02 kB / 434 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.2648, allocations: 34.73 kB / 434 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.2649, allocations: 4.938 kB / 434 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.265, allocations: 114.5 kB / 434.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.265, allocations: 384 / 434.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.265, allocations: 3.938 kB / 434.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.396e-05/0.2651, allocations: 37.69 kB / 434.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2651, allocations: 0 / 434.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2651, allocations: 4 kB / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2652, allocations: 0 / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.675e-05/0.2652, allocations: 4 kB / 434.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.2656, allocations: 367 kB / 434.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.2657, allocations: 177 kB / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.2657, allocations: 84.12 kB / 434.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.2658, allocations: 79.28 kB / 434.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/0.2658, allocations: 105.8 kB / 435 MB, free: 2.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.2658, allocations: 0 / 435 MB, free: 2.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.661e-05/0.2659, allocations: 33.59 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.266, allocations: 156.4 kB / 435.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2661, allocations: 117.8 kB / 435.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2661, allocations: 25.7 kB / 435.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.2662, allocations: 84.08 kB / 435.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.2662, allocations: 0 / 435.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.2662, allocations: 25.7 kB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2664, allocations: 314.8 kB / 435.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.2664, allocations: 0 / 435.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.2664, allocations: 8 kB / 435.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.2664, allocations: 8.859 kB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2664, allocations: 0 / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001019/0.2665, allocations: 49.58 kB / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.2665, allocations: 4 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.2665, allocations: 0 / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.2665, allocations: 0 / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.379e-05/0.2666, allocations: 4 kB / 435.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2666, allocations: 0 / 435.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.2666, allocations: 4.125 kB / 435.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.2666, allocations: 0 / 435.8 MB, free: 1.871 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.0001224/0.2667, allocations: 189.1 kB / 436 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.2668, allocations: 105 kB / 436.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.902e-05/0.2669, allocations: 116.4 kB / 436.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.726e-05/0.267, allocations: 176.3 kB / 436.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.504e-05/0.2671, allocations: 184.2 kB / 436.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.29e-05/0.2671, allocations: 176.3 kB / 436.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.2674, allocations: 380.2 kB / 437.1 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.895e-05/0.2675, allocations: 112.9 kB / 437.2 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.2675, allocations: 101 kB / 437.3 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-05/0.2676, allocations: 180.2 kB / 437.5 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.2677, allocations: 184.3 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.052e-05/0.2678, allocations: 188.6 kB / 437.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.841e-05/0.2679, allocations: 184.2 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.2681, allocations: 311.7 kB / 438.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.2681, allocations: 109 kB / 438.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.2682, allocations: 180.3 kB / 438.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.2684, allocations: 108.9 kB / 438.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.2684, allocations: 176.3 kB / 438.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.2685, allocations: 104.9 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.2686, allocations: 87.28 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2686, allocations: 4 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.2688, allocations: 47.86 kB / 439.1 MB, free: 14.34 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.0007275/0.2696, allocations: 0.8679 MB / 440 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.357e-05/0.2696, allocations: 11.92 kB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2697, allocations: 0 / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.2697, allocations: 0 / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.27, allocations: 462.4 kB / 440.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.2704, allocations: 201.9 kB / 440.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2707, allocations: 0.6768 MB / 441.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.2708, allocations: 15.97 kB / 441.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.2709, allocations: 11.44 kB / 441.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2709, allocations: 0 / 441.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.2989, allocations: 1.984 MB / 443.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.77, allocations: 0 / 443.3 MB, free: 10.14 MB / 350.1 MB " [Timeout remaining time 649] (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/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_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: 13.049202642869204]