Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 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: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_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_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 100.2 kB / 18.39 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001444, allocations: 188.3 kB / 19.33 MB, free: 3.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 51.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07569/0.07691, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002958/0.07991, allocations: 1.814 MB / 377.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.082, allocations: 0.9868 MB / 378.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.08213, allocations: 4 kB / 378.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.08231, allocations: 23.73 kB / 378.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.431e-05/0.08241, allocations: 39.7 kB / 378.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.08276, allocations: 91.83 kB / 378.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.08314, allocations: 319.3 kB / 379.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.08329, allocations: 61.64 kB / 379.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007504/0.08405, allocations: 0.7446 MB / 379.9 MB, free: 496 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.08427, allocations: 143.4 kB / 380 MB, free: 352 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.821e-05/0.08436, allocations: 20 kB / 380 MB, free: 332 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.764e-05/0.08443, allocations: 24 kB / 380.1 MB, free: 308 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.08456, allocations: 143.5 kB / 380.2 MB, free: 164 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1545/0.239, allocations: 236.3 kB / 380.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008177/0.2399, allocations: 0.7476 MB / 381.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2399, allocations: 0.75 kB / 381.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2399, allocations: 0 / 381.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.2399, allocations: 0.7188 kB / 381.2 MB, free: 11.04 MB / 318.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.000972/0.2409, allocations: 1.161 MB / 382.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.241, allocations: 9.625 kB / 382.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.2411, allocations: 78.38 kB / 382.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.2414, allocations: 390.8 kB / 382.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.2414, allocations: 19.62 kB / 382.8 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.2415, allocations: 19.69 kB / 382.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.242, allocations: 251.4 kB / 383.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.242, allocations: 0.6875 kB / 383.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.242, allocations: 11.2 kB / 383.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.242, allocations: 1.375 kB / 383.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.2423, allocations: 139.2 kB / 383.2 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.2434, allocations: 0.7315 MB / 384 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.2438, allocations: 204.2 kB / 384.2 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.244, allocations: 178.4 kB / 384.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.2441, allocations: 1.953 kB / 384.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/0.2446, allocations: 389.4 kB / 384.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.532e-06/0.2446, allocations: 6.219 kB / 384.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001269/0.2458, allocations: 0.9251 MB / 385.7 MB, free: 8.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.756e-05/0.2459, allocations: 281.1 kB / 385.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.2471, allocations: 0.9492 MB / 386.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.2471, allocations: 39.39 kB / 386.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.2472, allocations: 124.8 kB / 387.1 MB, free: 7.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.2473, allocations: 65.58 kB / 387.1 MB, free: 7.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.2475, allocations: 169 kB / 387.3 MB, free: 7.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.2475, allocations: 333.6 kB / 387.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.2477, allocations: 123.9 kB / 387.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.248, allocations: 163 kB / 387.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/0.2485, allocations: 0.7021 MB / 388.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2485, allocations: 0 / 388.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008806/0.2494, allocations: 0.7533 MB / 389.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.36e-05/0.2495, allocations: 250 kB / 389.6 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2495, allocations: 2.188 kB / 389.6 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2495, allocations: 1.469 kB / 389.6 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.222e-05/0.2495, allocations: 10.91 kB / 389.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2495, allocations: 4.141 kB / 389.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.2498, allocations: 29.86 kB / 389.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.2499, allocations: 112.8 kB / 389.7 MB, free: 5.977 MB / 318.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,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005303/0.2505, allocations: 0.6199 MB / 390.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/0.2505, allocations: 79.25 kB / 390.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.2507, allocations: 125.8 kB / 390.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2507, allocations: 6.906 kB / 390.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2508, allocations: 0 / 390.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2508, allocations: 1.891 kB / 390.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.2525, allocations: 1.429 MB / 392 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2525, allocations: 0 / 392 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.2525, allocations: 6.734 kB / 392 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2525, allocations: 0 / 392 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.2526, allocations: 32.31 kB / 392 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2526, allocations: 1.578 kB / 392 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2526, allocations: 1.094 kB / 392 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.2536, allocations: 0.9694 MB / 393 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/0.2542, allocations: 411.3 kB / 393.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.2543, allocations: 23.36 kB / 393.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.2545, allocations: 20.66 kB / 393.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.2546, allocations: 55.25 kB / 393.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.2548, allocations: 110.2 kB / 393.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008175/0.2556, allocations: 0.6865 MB / 394.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2556, allocations: 7.938 kB / 394.3 MB, free: 3.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.256, allocations: 96.69 kB / 394.4 MB, free: 3.27 MB / 318.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 (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.0001568/0.2561, allocations: 149.9 kB / 394.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007716/0.2569, allocations: 0.8825 MB / 395.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2569, allocations: 5 kB / 395.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.2574, allocations: 0.7519 MB / 396.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.2585, allocations: 284.5 kB / 396.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.2603, allocations: 1.337 MB / 397.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.2608, allocations: 0.9418 MB / 398.7 MB, free: 236 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.2609, allocations: 58.17 kB / 398.8 MB, free: 200 kB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2609, allocations: 0 / 398.8 MB, free: 200 kB / 318.1 MB Notification: Performance of Templates: time 0.008215/0.2692, allocations: 5.378 MB / 404.2 MB, free: 14.74 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches