Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001325/0.001325, allocations: 110 kB / 20.43 MB, free: 1.453 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.001507/0.001507, allocations: 213.5 kB / 23.74 MB, free: 4.66 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.449/1.449, 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.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2664, allocations: 53.4 MB / 431.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002537/0.2689, allocations: 0.9723 MB / 432.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003944/0.2693, allocations: 115.6 kB / 432.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.787e-05/0.2694, allocations: 4 kB / 432.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.047e-05/0.2695, allocations: 11.86 kB / 432.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2696, allocations: 3.938 kB / 432.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.2698, allocations: 43.89 kB / 432.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.27, allocations: 39.86 kB / 432.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2701, allocations: 16.17 kB / 432.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.2701, allocations: 19.94 kB / 432.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.2702, allocations: 19.86 kB / 432.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.2702, allocations: 4 kB / 432.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2702, allocations: 0 / 432.4 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.2703, allocations: 23.91 kB / 432.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.2703, allocations: 23.81 kB / 432.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.2705, allocations: 63.97 kB / 432.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2705, allocations: 0 / 432.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2705, allocations: 0 / 432.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.2705, allocations: 0 / 432.5 MB, free: 5.363 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000494/0.271, allocations: 306 kB / 432.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.271, allocations: 8.031 kB / 432.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.2711, allocations: 42.73 kB / 432.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.2711, allocations: 8.891 kB / 432.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.2714, allocations: 133.1 kB / 433 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2714, allocations: 384 / 433 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.2714, allocations: 4.375 kB / 433 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.2717, allocations: 143.5 kB / 433.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.2717, allocations: 0 / 433.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2717, allocations: 4 kB / 433.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.2717, allocations: 4 kB / 433.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.2717, allocations: 12 kB / 433.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.2719, allocations: 148.6 kB / 433.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.2721, allocations: 70.66 kB / 433.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.782e-05/0.2721, allocations: 32.89 kB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.2721, allocations: 0 / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.2722, allocations: 38.5 kB / 433.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.2722, allocations: 0 / 433.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002118/0.2724, allocations: 93.72 kB / 433.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.2725, allocations: 59.41 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2726, allocations: 133.8 kB / 433.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.2726, allocations: 25.7 kB / 433.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.2727, allocations: 92.12 kB / 433.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.2727, allocations: 0 / 433.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.2727, allocations: 25.72 kB / 433.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2729, allocations: 314.8 kB / 434.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.2729, allocations: 8 kB / 434.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.2729, allocations: 62.86 kB / 434.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.2e-05/0.273, allocations: 70.75 kB / 434.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.273, allocations: 0 / 434.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001376/0.2732, allocations: 105.6 kB / 434.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2732, allocations: 8 kB / 434.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2732, allocations: 4.188 kB / 434.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2732, allocations: 0 / 434.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.2733, allocations: 15.94 kB / 434.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.2733, allocations: 7.938 kB / 434.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.2733, allocations: 7.953 kB / 434.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2733, allocations: 4 kB / 434.5 MB, free: 3.168 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001039/0.2734, allocations: 121.8 kB / 434.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.567e-05/0.2735, allocations: 81.58 kB / 434.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.2736, allocations: 8.719 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2736, allocations: 7.938 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2736, allocations: 4 kB / 434.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2736, allocations: 0 / 434.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.2737, allocations: 144.7 kB / 434.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2737, allocations: 0 / 434.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.2738, allocations: 15.94 kB / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2738, allocations: 0 / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2738, allocations: 0 / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2738, allocations: 4 kB / 434.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2738, allocations: 4 kB / 434.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.2739, allocations: 105.4 kB / 435 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.2739, allocations: 15.89 kB / 435 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.274, allocations: 7.984 kB / 435 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.274, allocations: 4 kB / 435 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-06/0.274, allocations: 3.938 kB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.274, allocations: 0 / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.47e-05/0.2741, allocations: 105.5 kB / 435.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2741, allocations: 4 kB / 435.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.2743, allocations: 8 kB / 435.1 MB, free: 2.457 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: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005147/0.2748, allocations: 0.6554 MB / 435.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.2749, allocations: 48.23 kB / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2749, allocations: 0 / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.2749, allocations: 0 / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2752, allocations: 40 kB / 435.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.2765, allocations: 1.358 MB / 437.2 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.2768, allocations: 0.7002 MB / 437.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.044e-05/0.2768, allocations: 7.938 kB / 437.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.2769, allocations: 19.44 kB / 438 MB, free: 15.45 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2769, allocations: 0 / 438 MB, free: 15.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.3049, allocations: 1.878 MB / 439.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.91, allocations: 12.53 kB / 439.8 MB, free: 13.67 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.303787639830261]