Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009009/0.0009012, allocations: 179.4 kB / 16.77 MB, free: 4.898 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007401/0.0007401, allocations: 100.9 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06103/0.06103, allocations: 12.2 MB / 331.8 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003733, allocations: 16 kB / 392.2 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06801/0.0684, allocations: 50.28 MB / 442.5 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001188/0.06962, allocations: 1.136 MB / 443.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001924/0.06984, allocations: 87.77 kB / 443.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.0699, allocations: 0 / 443.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.06993, allocations: 11.92 kB / 443.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.052e-05/0.06996, allocations: 0 / 443.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.07017, allocations: 16 kB / 443.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.618e-05/0.07023, allocations: 23.91 kB / 443.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.275e-05/0.07031, allocations: 12 kB / 443.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.07034, allocations: 7.938 kB / 443.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.628e-05/0.07037, allocations: 11.92 kB / 443.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.07039, allocations: 7.938 kB / 443.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.07041, allocations: 0 / 443.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.07042, allocations: 0 / 443.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.07046, allocations: 37.64 kB / 443.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.74e-05/0.07051, allocations: 19.95 kB / 443.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.07052, allocations: 0 / 443.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.07052, allocations: 0 / 443.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.07054, allocations: 4 kB / 443.9 MB, free: 15.17 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002668/0.07081, allocations: 335.7 kB / 444.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.07085, allocations: 11.97 kB / 444.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.434e-05/0.07088, allocations: 34.73 kB / 444.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.07091, allocations: 16.78 kB / 444.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.979e-05/0.07101, allocations: 172.4 kB / 444.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.07104, allocations: 4.359 kB / 444.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.07105, allocations: 4.375 kB / 444.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.07128, allocations: 103.9 kB / 444.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.0713, allocations: 3.938 kB / 444.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.07131, allocations: 0 / 444.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.07132, allocations: 4 kB / 444.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.205e-05/0.07138, allocations: 12 kB / 444.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.821e-05/0.07146, allocations: 165.6 kB / 444.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.07157, allocations: 50.5 kB / 444.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.07162, allocations: 24.92 kB / 444.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.07164, allocations: 0 / 444.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.07166, allocations: 34.56 kB / 444.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.07167, allocations: 0 / 444.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001534/0.07182, allocations: 73.47 kB / 444.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.07185, allocations: 51.41 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.386e-05/0.0719, allocations: 105.8 kB / 445 MB, free: 13.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-06/0.07192, allocations: 25.7 kB / 445.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.684e-05/0.07194, allocations: 84.14 kB / 445.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-06/0.07195, allocations: 8 kB / 445.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.07195, allocations: 0 / 445.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.07199, allocations: 314.8 kB / 445.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.07201, allocations: 8 kB / 445.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.07203, allocations: 23.44 kB / 445.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.07206, allocations: 39.36 kB / 445.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.07207, allocations: 0 / 445.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.754e-05/0.07213, allocations: 49.64 kB / 445.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.07215, allocations: 7.938 kB / 445.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.07216, allocations: 4 kB / 445.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/0.07217, allocations: 0 / 445.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.288e-05/0.07221, allocations: 19.98 kB / 445.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.07222, allocations: 0 / 445.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.07224, allocations: 3.938 kB / 445.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.07225, allocations: 7.984 kB / 445.6 MB, free: 13.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.0723, allocations: 118.5 kB / 445.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.07238, allocations: 61.53 kB / 445.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.788e-05/0.07241, allocations: 3.5 kB / 445.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.07242, allocations: 336 / 445.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.07242, allocations: 4 kB / 445.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.07243, allocations: 0 / 445.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.696e-05/0.07248, allocations: 161.6 kB / 446 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.07249, allocations: 3.938 kB / 446 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.07251, allocations: 4.25 kB / 446 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.07252, allocations: 3.938 kB / 446 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.07253, allocations: 4 kB / 446 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.07253, allocations: 0 / 446 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.07254, allocations: 4 kB / 446 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.924e-05/0.07263, allocations: 81.11 kB / 446.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.07265, allocations: 85.02 kB / 446.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.07267, allocations: 3.938 kB / 446.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.07269, allocations: 0 / 446.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-06/0.0727, allocations: 0 / 446.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.07271, allocations: 8 kB / 446.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.743e-05/0.07273, allocations: 79.28 kB / 446.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.07274, allocations: 0 / 446.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.07292, allocations: 7.984 kB / 446.3 MB, free: 12.42 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002033/0.07313, allocations: 0.6124 MB / 446.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.479e-05/0.07322, allocations: 27.92 kB / 446.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.07323, allocations: 4.25 kB / 446.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.07323, allocations: 0 / 446.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.07341, allocations: 23.98 kB / 446.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.07379, allocations: 414.6 kB / 447.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.358e-05/0.07388, allocations: 0.6809 MB / 448 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.07391, allocations: 7.438 kB / 448 MB, free: 10.54 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.07391, allocations: 0 / 448 MB, free: 10.54 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.196/2.27, allocations: 0.7472 MB / 448.8 MB, free: 9.793 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,assignClock1.y,step.y Variables in the result:assignClock1.u,assignClock1.y,periodicClock1.period,periodicClock1.useSolver,step.simTime,step.startTime,step.startValue,step.y,time