Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 43.92 kB / 379 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2217, allocations: 53.37 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.00459/0.2263, allocations: 3.21 MB / 435.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2276, allocations: 0.8121 MB / 436.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.2278, allocations: 7.938 kB / 436.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.2279, allocations: 71.3 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.2282, allocations: 138.8 kB / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.2285, allocations: 131.8 kB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005281/0.229, allocations: 0.5094 MB / 437.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.2292, allocations: 95.69 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.2295, allocations: 203.2 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.2298, allocations: 211 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.2298, allocations: 40 kB / 437.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.2299, allocations: 47.98 kB / 437.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.23, allocations: 91.61 kB / 437.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.2302, allocations: 183.2 kB / 438.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.2307, allocations: 0.4976 MB / 438.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2307, allocations: 4 kB / 438.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2307, allocations: 0 / 438.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.2307, allocations: 4 kB / 438.6 MB, free: 500 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001147/0.2319, allocations: 0.6606 MB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2319, allocations: 8.031 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.2323, allocations: 84.56 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.2327, allocations: 262.3 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.2327, allocations: 25.03 kB / 439.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.2328, allocations: 28.38 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.2335, allocations: 444.1 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2335, allocations: 0 / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.2335, allocations: 16 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.2335, allocations: 8 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/0.2341, allocations: 270.4 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.236, allocations: 1.233 MB / 441.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.2364, allocations: 202.5 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.2366, allocations: 101.2 kB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2366, allocations: 3.984 kB / 441.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.2366, allocations: 42.36 kB / 441.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.2366, allocations: 0 / 441.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001447/0.2381, allocations: 481.2 kB / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.2381, allocations: 59.41 kB / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.2384, allocations: 292.5 kB / 442.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.2385, allocations: 33.7 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.2386, allocations: 212.4 kB / 443 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/0.2387, allocations: 83.27 kB / 443.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-05/0.2388, allocations: 45.7 kB / 443.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2389, allocations: 338.8 kB / 443.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.2391, allocations: 83.95 kB / 443.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.2394, allocations: 128.9 kB / 443.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.2398, allocations: 200.1 kB / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2398, allocations: 0 / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007369/0.2405, allocations: 351.7 kB / 444.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2405, allocations: 7.984 kB / 444.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2405, allocations: 4 kB / 444.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/0.2409, allocations: 114.4 kB / 444.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.2411, allocations: 27.98 kB / 444.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004019/0.2451, allocations: 4.592 MB / 448.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.2454, allocations: 27.83 kB / 449 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.2454, allocations: 4 kB / 449 MB, free: 5.484 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.2455, allocations: 153.7 kB / 449.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.2456, allocations: 31.81 kB / 449.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.315e-05/0.2457, allocations: 39.11 kB / 449.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2457, allocations: 0 / 449.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.2457, allocations: 7.938 kB / 449.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.2458, allocations: 47.72 kB / 449.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.2458, allocations: 12.06 kB / 449.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.2461, allocations: 19.97 kB / 449.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.2461, allocations: 15.97 kB / 449.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009917/0.2471, allocations: 422.9 kB / 449.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007372/0.2478, allocations: 0.5063 MB / 450.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001921/0.248, allocations: 75.95 kB / 450.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.2483, allocations: 215.1 kB / 450.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.2483, allocations: 3.938 kB / 450.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.2493, allocations: 0.5631 MB / 451.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of SimCode: time 0.001275/0.2506, allocations: 1.139 MB / 452.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of Templates: time 0.01033/0.2609, allocations: 5.434 MB / 457.6 MB, free: 12.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.339072748996841]