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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000972/0.0009721, allocations: 106.1 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009564/0.0009565, allocations: 51.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2442, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002421/0.2466, allocations: 1.871 MB / 408.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.2484, allocations: 1.024 MB / 410 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.2485, allocations: 3.938 kB / 410 MB, free: 24.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.2487, allocations: 15.91 kB / 410 MB, free: 24.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.71e-05/0.2488, allocations: 31.72 kB / 410 MB, free: 24.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.2491, allocations: 91.84 kB / 410.1 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.2493, allocations: 251.4 kB / 410.3 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2495, allocations: 49.66 kB / 410.4 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005328/0.25, allocations: 0.7135 MB / 411.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.2502, allocations: 147.4 kB / 411.2 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.2503, allocations: 12 kB / 411.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.2503, allocations: 8 kB / 411.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2505, allocations: 139.4 kB / 411.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.2506, allocations: 234.2 kB / 411.6 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.2511, allocations: 0.7332 MB / 412.4 MB, free: 22.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2511, allocations: 0 / 412.4 MB, free: 22.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2511, allocations: 0 / 412.4 MB, free: 22.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2511, allocations: 0 / 412.4 MB, free: 22.51 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.0009095/0.2521, allocations: 1.161 MB / 413.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2521, allocations: 16.03 kB / 413.5 MB, free: 21.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.166e-05/0.2522, allocations: 72.09 kB / 413.6 MB, free: 21.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.2526, allocations: 396.2 kB / 414 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.2526, allocations: 12.56 kB / 414 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.2527, allocations: 20.38 kB / 414 MB, free: 20.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.2531, allocations: 255.3 kB / 414.3 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2531, allocations: 3.984 kB / 414.3 MB, free: 20.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.2532, allocations: 8 kB / 414.3 MB, free: 20.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2532, allocations: 11.92 kB / 414.3 MB, free: 20.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.2534, allocations: 136.2 kB / 414.4 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.2545, allocations: 0.731 MB / 415.2 MB, free: 19.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.2548, allocations: 202.4 kB / 415.4 MB, free: 19.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.255, allocations: 178.3 kB / 415.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.2551, allocations: 4 kB / 415.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/0.2555, allocations: 394 kB / 415.9 MB, free: 18.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.2555, allocations: 3.938 kB / 415.9 MB, free: 18.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001137/0.2567, allocations: 0.918 MB / 416.8 MB, free: 17.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.2568, allocations: 281 kB / 417.1 MB, free: 17.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009068/0.2577, allocations: 0.953 MB / 418.1 MB, free: 16.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.2577, allocations: 33.7 kB / 418.1 MB, free: 16.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.2578, allocations: 138 kB / 418.2 MB, free: 16.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.2578, allocations: 59.25 kB / 418.3 MB, free: 16.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.258, allocations: 165 kB / 418.5 MB, free: 16.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.2581, allocations: 330.8 kB / 418.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.2583, allocations: 132.2 kB / 418.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.2586, allocations: 163.9 kB / 419.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.259, allocations: 0.6993 MB / 419.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.259, allocations: 3.938 kB / 419.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007838/0.2598, allocations: 0.7566 MB / 420.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/0.2599, allocations: 245.6 kB / 420.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2599, allocations: 4 kB / 420.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2599, allocations: 0 / 420.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.214e-05/0.26, allocations: 8 kB / 420.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.26, allocations: 4 kB / 420.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.2602, allocations: 27.98 kB / 420.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.2603, allocations: 112.1 kB / 420.9 MB, free: 13.32 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,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.0004183/0.2608, allocations: 0.62 MB / 421.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.2608, allocations: 83.05 kB / 421.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.261, allocations: 130.9 kB / 421.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.261, allocations: 4 kB / 421.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.261, allocations: 0 / 421.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.261, allocations: 0 / 421.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.2625, allocations: 1.425 MB / 423.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2625, allocations: 0 / 423.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/0.2625, allocations: 4 kB / 423.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2625, allocations: 4 kB / 423.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.2625, allocations: 31.98 kB / 423.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2625, allocations: 0 / 423.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2626, allocations: 0 / 423.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.2639, allocations: 1.778 MB / 425 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.2644, allocations: 407.8 kB / 425.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.851e-05/0.2645, allocations: 31.94 kB / 425.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.2647, allocations: 19.98 kB / 425.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.2649, allocations: 55.94 kB / 425.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.665e-05/0.265, allocations: 115.9 kB / 425.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006761/0.2656, allocations: 0.686 MB / 426.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2656, allocations: 0 / 426.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004531/0.2661, allocations: 99.84 kB / 426.4 MB, free: 7.543 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 (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.0001516/0.2663, allocations: 147.2 kB / 426.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006944/0.267, allocations: 0.8779 MB / 427.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.267, allocations: 0 / 427.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.2674, allocations: 0.753 MB / 428.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000967/0.2684, allocations: 257.9 kB / 428.4 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.2702, allocations: 1.704 MB / 430.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.2707, allocations: 0.9441 MB / 431.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.2709, allocations: 89.34 kB / 431.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.888e-05/0.271, allocations: 51.3 kB / 431.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of SimCode: time 4.8e-07/0.271, allocations: 0 / 431.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of Templates: time 0.0127/0.2837, allocations: 9.178 MB / 440.4 MB, free: 9.309 MB / 314.7 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@2/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