Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.001609/0.001609, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001392/0.001392, allocations: 191.8 kB / 23.71 MB, free: 4.406 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.395/1.395, allocations: 225.7 MB / 252.5 MB, free: 12.81 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.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 48.05 kB / 370.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2592, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002265/0.2614, allocations: 0.9156 MB / 423.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003889/0.2618, allocations: 143.6 kB / 423.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.832e-05/0.2619, allocations: 7.938 kB / 423.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.966e-05/0.262, allocations: 15.86 kB / 423.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.2621, allocations: 15.86 kB / 423.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.2623, allocations: 43.95 kB / 423.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.2624, allocations: 71.7 kB / 423.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2626, allocations: 23.98 kB / 423.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.2626, allocations: 27.86 kB / 423.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.129e-05/0.2627, allocations: 43.77 kB / 423.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.2627, allocations: 4 kB / 423.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.2627, allocations: 12 kB / 423.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.2628, allocations: 31.86 kB / 423.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.2628, allocations: 27.8 kB / 423.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.263, allocations: 101.1 kB / 424 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.263, allocations: 0 / 424 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.263, allocations: 0 / 424 MB, free: 12.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.263, allocations: 0 / 424 MB, free: 12.91 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004986/0.2635, allocations: 341.8 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2635, allocations: 8.031 kB / 424.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.2636, allocations: 42.73 kB / 424.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.2636, allocations: 12.84 kB / 424.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.2639, allocations: 166.2 kB / 424.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2639, allocations: 8.375 kB / 424.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.2639, allocations: 4.375 kB / 424.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.2643, allocations: 227.7 kB / 424.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2643, allocations: 7.938 kB / 424.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2643, allocations: 4 kB / 424.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2643, allocations: 3.938 kB / 424.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.2644, allocations: 51.48 kB / 424.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.2646, allocations: 156.6 kB / 425.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.2648, allocations: 139 kB / 425.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.265, allocations: 76.81 kB / 425.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.265, allocations: 4 kB / 425.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.265, allocations: 34.56 kB / 425.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.183e-06/0.265, allocations: 0 / 425.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003173/0.2653, allocations: 185.6 kB / 425.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.2654, allocations: 63.39 kB / 425.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.2655, allocations: 169.6 kB / 425.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.2656, allocations: 25.7 kB / 425.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.2656, allocations: 96.45 kB / 425.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.2656, allocations: 8 kB / 425.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.2657, allocations: 41.66 kB / 425.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2658, allocations: 322.8 kB / 426.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.2659, allocations: 27.98 kB / 426.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.266, allocations: 124.8 kB / 426.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.2662, allocations: 157.5 kB / 426.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2662, allocations: 0 / 426.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002258/0.2664, allocations: 161.7 kB / 426.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2664, allocations: 11.94 kB / 426.7 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2664, allocations: 4 kB / 426.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2665, allocations: 4 kB / 426.7 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2666, allocations: 31.92 kB / 426.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.2666, allocations: 11.98 kB / 426.7 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.836e-05/0.2666, allocations: 11.89 kB / 426.7 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.2667, allocations: 12 kB / 426.7 MB, free: 9.922 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001307/0.2668, allocations: 141.8 kB / 426.9 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.267, allocations: 148.8 kB / 427 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.267, allocations: 25.09 kB / 427 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.267, allocations: 4 kB / 427.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.267, allocations: 0 / 427.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.267, allocations: 0 / 427.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.2672, allocations: 148.7 kB / 427.2 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2672, allocations: 0 / 427.2 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2673, allocations: 35.84 kB / 427.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2673, allocations: 3.938 kB / 427.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2673, allocations: 4 kB / 427.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2673, allocations: 7.938 kB / 427.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2673, allocations: 0 / 427.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.2675, allocations: 164.9 kB / 427.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.2676, allocations: 35.83 kB / 427.4 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.2676, allocations: 3.938 kB / 427.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.243e-05/0.2676, allocations: 11.98 kB / 427.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-06/0.2676, allocations: 0 / 427.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.2677, allocations: 4 kB / 427.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.2678, allocations: 118.1 kB / 427.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2678, allocations: 3.938 kB / 427.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.268, allocations: 20 kB / 427.6 MB, free: 8.988 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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.000668/0.2687, allocations: 0.7686 MB / 428.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.2688, allocations: 103.7 kB / 428.5 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2688, allocations: 1.062 kB / 428.5 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.2688, allocations: 0 / 428.5 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.2692, allocations: 102.3 kB / 428.6 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.2708, allocations: 1.721 MB / 430.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.535e-05/0.2709, allocations: 101.2 kB / 430.4 MB, free: 5.977 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.489e-05/0.2709, allocations: 13.08 kB / 430.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.271, allocations: 35.42 kB / 430.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.271, allocations: 0 / 430.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.3027, allocations: 3.237 MB / 433.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.72, allocations: 4.062 kB / 433.7 MB, free: 2.836 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.010035295970738]