Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.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) 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: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 175.4 kB / 16.72 MB, free: 5.078 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.623/1.623, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0009183/0.0009186, allocations: 89.42 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004357, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2665, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.001709/0.2682, allocations: 1.462 MB / 376.5 MB, free: 44.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.27, allocations: 0.9407 MB / 377.5 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.603e-05/0.2701, allocations: 1.375 kB / 377.5 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.2703, allocations: 18.31 kB / 377.5 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.257e-05/0.2704, allocations: 26.78 kB / 377.5 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.2707, allocations: 71.2 kB / 377.6 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.271, allocations: 236.9 kB / 377.8 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.2711, allocations: 43.36 kB / 377.9 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008826/0.272, allocations: 0.6371 MB / 378.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.2723, allocations: 158.2 kB / 378.7 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/0.2723, allocations: 7.156 kB / 378.7 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.473e-05/0.2724, allocations: 7.781 kB / 378.7 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.2726, allocations: 135.4 kB / 378.8 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.2728, allocations: 238.8 kB / 379 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.2733, allocations: 0.6002 MB / 379.6 MB, free: 42.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2733, allocations: 0 / 379.6 MB, free: 42.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2733, allocations: 0 / 379.6 MB, free: 42.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2733, allocations: 4.906 kB / 379.7 MB, free: 42.31 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0008811/0.2742, allocations: 1.029 MB / 380.7 MB, free: 41.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2742, allocations: 13.75 kB / 380.7 MB, free: 41.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.2744, allocations: 86.11 kB / 380.8 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.2747, allocations: 386.8 kB / 381.2 MB, free: 40.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.2748, allocations: 10.25 kB / 381.2 MB, free: 40.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.2748, allocations: 20.88 kB / 381.2 MB, free: 40.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005345/0.2754, allocations: 258.8 kB / 381.4 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2754, allocations: 4 kB / 381.4 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.2754, allocations: 7.594 kB / 381.5 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2755, allocations: 1.125 kB / 381.5 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.2758, allocations: 135.3 kB / 381.6 MB, free: 40.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.2771, allocations: 0.7355 MB / 382.3 MB, free: 40.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.2774, allocations: 206.9 kB / 382.5 MB, free: 40.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.2777, allocations: 176 kB / 382.7 MB, free: 39.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.2778, allocations: 1.219 kB / 382.7 MB, free: 39.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005599/0.2783, allocations: 388.5 kB / 383.1 MB, free: 39.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.164e-06/0.2784, allocations: 4 kB / 383.1 MB, free: 39.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001596/0.28, allocations: 0.9288 MB / 384 MB, free: 39.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.2801, allocations: 281.3 kB / 384.3 MB, free: 38.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.2814, allocations: 0.9515 MB / 385.2 MB, free: 38.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.2814, allocations: 37.83 kB / 385.3 MB, free: 38.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.2815, allocations: 127 kB / 385.4 MB, free: 37.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.2816, allocations: 66.41 kB / 385.5 MB, free: 37.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2816, allocations: 10.22 kB / 385.5 MB, free: 37.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.2817, allocations: 340.1 kB / 385.8 MB, free: 37.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.2819, allocations: 125 kB / 385.9 MB, free: 37.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.2822, allocations: 159.8 kB / 386.1 MB, free: 37.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.2827, allocations: 0.6943 MB / 386.8 MB, free: 36.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2827, allocations: 11.94 kB / 386.8 MB, free: 36.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008289/0.2835, allocations: 0.7487 MB / 387.5 MB, free: 35.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.896e-05/0.2836, allocations: 241.6 kB / 387.8 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2836, allocations: 0 / 387.8 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2837, allocations: 7.984 kB / 387.8 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.279e-05/0.2837, allocations: 15.92 kB / 387.8 MB, free: 35.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2837, allocations: 0 / 387.8 MB, free: 35.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.2841, allocations: 32.08 kB / 387.8 MB, free: 35.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.2842, allocations: 109 kB / 387.9 MB, free: 35.23 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: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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 0.000595/0.2848, allocations: 0.6131 MB / 388.5 MB, free: 34.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.2849, allocations: 83 kB / 388.6 MB, free: 34.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.2851, allocations: 130.9 kB / 388.8 MB, free: 34.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2851, allocations: 0 / 388.8 MB, free: 34.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2851, allocations: 0 / 388.8 MB, free: 34.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2851, allocations: 3.984 kB / 388.8 MB, free: 34.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.2867, allocations: 1.429 MB / 390.2 MB, free: 32.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2867, allocations: 0 / 390.2 MB, free: 32.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.2867, allocations: 7.938 kB / 390.2 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2867, allocations: 3.984 kB / 390.2 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.2868, allocations: 31.98 kB / 390.2 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2868, allocations: 0 / 390.2 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2868, allocations: 0 / 390.2 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.2878, allocations: 0.9609 MB / 391.2 MB, free: 31.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005016/0.2883, allocations: 407.8 kB / 391.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.2884, allocations: 20 kB / 391.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.2887, allocations: 35.95 kB / 391.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.2888, allocations: 51.94 kB / 391.7 MB, free: 31.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.872e-05/0.2889, allocations: 111.9 kB / 391.8 MB, free: 31.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008258/0.2898, allocations: 0.6938 MB / 392.5 MB, free: 30.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2898, allocations: 0 / 392.5 MB, free: 30.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004691/0.2902, allocations: 107.8 kB / 392.6 MB, free: 30.31 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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.0002003/0.2904, allocations: 147.2 kB / 392.7 MB, free: 30.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007841/0.2912, allocations: 0.8857 MB / 393.6 MB, free: 29.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2913, allocations: 0 / 393.6 MB, free: 29.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.2917, allocations: 0.7491 MB / 394.4 MB, free: 28.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009423/0.2927, allocations: 243.4 kB / 394.6 MB, free: 28.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.2946, allocations: 1.52 MB / 396.1 MB, free: 26.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.295, allocations: 0.9401 MB / 397.1 MB, free: 25.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.2952, allocations: 55.34 kB / 397.1 MB, free: 25.52 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2952, allocations: 0 / 397.1 MB, free: 25.52 MB / 298.7 MB Notification: Performance of Templates: time 0.006518/0.3017, allocations: 5.344 MB / 402.5 MB, free: 20.16 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches