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.001533/0.001533, allocations: 109.7 kB / 18.4 MB, free: 4.652 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.001771/0.001771, allocations: 183 kB / 19.34 MB, free: 3.727 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.328/1.328, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001364/0.001364, allocations: 64.14 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07613/0.07751, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002871/0.08041, allocations: 1.804 MB / 377.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.08245, allocations: 0.9868 MB / 378.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.669e-05/0.08256, allocations: 0 / 378.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.08272, allocations: 31.78 kB / 378.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.08283, allocations: 39.66 kB / 378.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.08318, allocations: 103.8 kB / 378.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.08357, allocations: 311.3 kB / 379.1 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.08372, allocations: 57.66 kB / 379.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007669/0.08449, allocations: 0.7485 MB / 379.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.08471, allocations: 135.5 kB / 380 MB, free: 372 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.421e-05/0.0848, allocations: 20 kB / 380.1 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.481e-05/0.08489, allocations: 24 kB / 380.1 MB, free: 328 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.08504, allocations: 139.5 kB / 380.2 MB, free: 188 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1474/0.2324, allocations: 244.5 kB / 380.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007137/0.2332, allocations: 0.75 MB / 381.2 MB, free: 10.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2332, allocations: 0 / 381.2 MB, free: 10.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2332, allocations: 0 / 381.2 MB, free: 10.44 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2332, allocations: 1.5 kB / 381.2 MB, free: 10.44 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.0008772/0.2341, allocations: 1.193 MB / 382.4 MB, free: 9.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2341, allocations: 7.812 kB / 382.4 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.2342, allocations: 78.59 kB / 382.5 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.2345, allocations: 399.9 kB / 382.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.2346, allocations: 12.94 kB / 382.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.2346, allocations: 19.12 kB / 382.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.2351, allocations: 258.6 kB / 383.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2351, allocations: 0 / 383.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.2352, allocations: 10.12 kB / 383.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2352, allocations: 7.328 kB / 383.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.2355, allocations: 133.8 kB / 383.3 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.2366, allocations: 0.7337 MB / 384 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.2369, allocations: 203.6 kB / 384.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.2372, allocations: 178.7 kB / 384.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.2373, allocations: 0.9688 kB / 384.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005147/0.2378, allocations: 390.8 kB / 384.8 MB, free: 8.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.2378, allocations: 0 / 384.8 MB, free: 8.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001329/0.2391, allocations: 0.9256 MB / 385.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.2392, allocations: 284.8 kB / 386 MB, free: 7.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.2403, allocations: 0.9492 MB / 386.9 MB, free: 7.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.2404, allocations: 38.33 kB / 387 MB, free: 7.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.2404, allocations: 132.5 kB / 387.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.2405, allocations: 66.77 kB / 387.2 MB, free: 7.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.2407, allocations: 167.9 kB / 387.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.2407, allocations: 332.6 kB / 387.7 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.241, allocations: 130.9 kB / 387.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.2413, allocations: 157.5 kB / 387.9 MB, free: 7.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.2418, allocations: 0.7044 MB / 388.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2418, allocations: 0 / 388.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009331/0.2428, allocations: 0.7533 MB / 389.4 MB, free: 5.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.2428, allocations: 246.3 kB / 389.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2429, allocations: 4.844 kB / 389.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2429, allocations: 7.547 kB / 389.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.133e-05/0.2429, allocations: 11.38 kB / 389.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2429, allocations: 1.672 kB / 389.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.2432, allocations: 31.08 kB / 389.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.2433, allocations: 111.4 kB / 389.8 MB, free: 5.676 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.0005211/0.2438, allocations: 0.6141 MB / 390.4 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.2439, allocations: 88.09 kB / 390.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.2441, allocations: 130.1 kB / 390.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.2441, allocations: 1.625 kB / 390.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2441, allocations: 0.75 kB / 390.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.2447, allocations: 420.7 kB / 391.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.2448, allocations: 23.16 kB / 391.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.245, allocations: 19.03 kB / 391.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.2451, allocations: 58.05 kB / 391.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001146/0.2463, allocations: 1.315 MB / 392.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001105/0.2474, allocations: 1.048 MB / 393.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003674/0.2478, allocations: 306.8 kB / 393.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000856/0.2486, allocations: 0.6868 MB / 394.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of Backend: time 3.31e-07/0.2486, allocations: 0 / 394.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008787/0.2495, allocations: 0.8327 MB / 395.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of SimCode: time 0.002085/0.2516, allocations: 2.175 MB / 397.5 MB, free: 224 kB / 318.1 MB Notification: Performance of Templates: time 0.01227/0.2639, allocations: 8.56 MB / 406.1 MB, free: 13.61 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