Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 99.73 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 8 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1089, allocations: 51.5 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.001984/0.1109, allocations: 1.452 MB / 359.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1129, allocations: 0.944 MB / 360.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.113, allocations: 0 / 360.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1132, allocations: 15.84 kB / 360.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.1132, allocations: 31.89 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.1136, allocations: 75.78 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1138, allocations: 151.8 kB / 360.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.114, allocations: 41.84 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005695/0.1145, allocations: 0.5224 MB / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.1147, allocations: 155.6 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.1148, allocations: 8 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.322e-05/0.1148, allocations: 4 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.115, allocations: 139.6 kB / 361.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1151, allocations: 121.3 kB / 361.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.1156, allocations: 0.5965 MB / 362.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1156, allocations: 0 / 362.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1156, allocations: 0 / 362.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1156, allocations: 0 / 362.3 MB, free: 9.648 MB / 302.1 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.0009737/0.1166, allocations: 1.05 MB / 363.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.1166, allocations: 8.031 kB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.1168, allocations: 71.16 kB / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.1172, allocations: 363.6 kB / 363.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.1173, allocations: 24.14 kB / 363.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.1173, allocations: 20 kB / 363.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.1178, allocations: 246.8 kB / 364.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1179, allocations: 4 kB / 364.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.1179, allocations: 15.94 kB / 364.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1179, allocations: 0 / 364.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.1182, allocations: 136.6 kB / 364.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1193, allocations: 0.7354 MB / 365 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.1197, allocations: 198.4 kB / 365.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1197, allocations: 0 / 365.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005019/0.1202, allocations: 385.9 kB / 365.5 MB, free: 6.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.733e-06/0.1202, allocations: 0 / 365.5 MB, free: 6.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001571/0.1218, allocations: 1.241 MB / 366.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.1219, allocations: 288.9 kB / 367.1 MB, free: 4.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.1231, allocations: 0.9568 MB / 368 MB, free: 3.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.1232, allocations: 33.7 kB / 368 MB, free: 3.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.1233, allocations: 134 kB / 368.2 MB, free: 3.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.1234, allocations: 67.19 kB / 368.2 MB, free: 3.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.1234, allocations: 8 kB / 368.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1235, allocations: 334.8 kB / 368.6 MB, free: 2.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.1238, allocations: 120.2 kB / 368.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.124, allocations: 168.7 kB / 368.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.1244, allocations: 354.4 kB / 369.2 MB, free: 2.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1244, allocations: 0 / 369.2 MB, free: 2.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001003/0.1254, allocations: 0.7526 MB / 370 MB, free: 1.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.1256, allocations: 241.6 kB / 370.2 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1256, allocations: 4 kB / 370.2 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1256, allocations: 0 / 370.2 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.174e-05/0.1257, allocations: 7.984 kB / 370.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1257, allocations: 4 kB / 370.2 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.126, allocations: 43.91 kB / 370.3 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.1261, allocations: 108.1 kB / 370.4 MB, free: 0.9688 MB / 302.1 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.0006225/0.1267, allocations: 0.6007 MB / 371 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/0.1268, allocations: 83 kB / 371 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.127, allocations: 126.9 kB / 371.2 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.127, allocations: 4 kB / 371.2 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1271, allocations: 0 / 371.2 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1271, allocations: 4 kB / 371.2 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2591/0.3862, allocations: 1.419 MB / 372.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.3862, allocations: 0 / 372.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.3862, allocations: 5.203 kB / 372.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.3863, allocations: 2.25 kB / 372.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-05/0.3863, allocations: 32.83 kB / 372.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3864, allocations: 0.9688 kB / 372.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3864, allocations: 0.875 kB / 372.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.3879, allocations: 0.9571 MB / 373.6 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/0.3888, allocations: 420.9 kB / 374 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.3889, allocations: 23.03 kB / 374 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.3892, allocations: 33.73 kB / 374.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.3894, allocations: 58.33 kB / 374.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/0.3896, allocations: 115.2 kB / 374.2 MB, free: 18.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.391, allocations: 0.6927 MB / 374.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.391, allocations: 0 / 374.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00073/0.3918, allocations: 92.03 kB / 375 MB, free: 18.62 MB / 302.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: 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.0002198/0.392, allocations: 142.2 kB / 375.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.3931, allocations: 0.8925 MB / 376 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3931, allocations: 0 / 376 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006179/0.3937, allocations: 0.7518 MB / 376.8 MB, free: 17.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.3948, allocations: 226.8 kB / 377 MB, free: 17.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.3974, allocations: 1.454 MB / 378.5 MB, free: 16.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.3981, allocations: 0.9569 MB / 379.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003756/0.3985, allocations: 94.56 kB / 379.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3986, allocations: 44.98 kB / 379.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of SimCode: time 1.894e-06/0.3986, allocations: 1.344 kB / 379.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of Templates: time 0.0208/0.4194, allocations: 8.201 MB / 387.8 MB, free: 13.27 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches